mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-10-11 13:41:57 +00:00
4.20.12
* Fixed: The Channel Title settings profile not working. * Fixed: Remove an unnecessary import that VS Code *helpfully* forced into the channel module last commit. * Changed: Only load the `safe-regex` module on demand, it's kind of hefty.
This commit is contained in:
parent
22c60050e0
commit
5b76e7c22a
6 changed files with 50 additions and 21 deletions
|
@ -4,7 +4,7 @@
|
|||
// Advanced Filter System
|
||||
// ============================================================================
|
||||
|
||||
export function createTester(rules, filter_types, inverted = false, or = false) {
|
||||
export function createTester(rules, filter_types, inverted = false, or = false, rebuild) {
|
||||
if ( ! Array.isArray(rules) || ! filter_types )
|
||||
return inverted ? () => false : () => true;
|
||||
|
||||
|
@ -21,7 +21,7 @@ export function createTester(rules, filter_types, inverted = false, or = false)
|
|||
continue;
|
||||
|
||||
i++;
|
||||
tests.push(type.createTest(rule.data, filter_types));
|
||||
tests.push(type.createTest(rule.data, filter_types, rebuild));
|
||||
names.push(`f${i}`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue