1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-31 23:18:31 +00:00
* Fixed: Leaky name matching when the user has listed more than one name to highlight or block.
* Fixed: Blacklist several Twitch errors that were being captured by automatic error reporting.
* Fixed: The optional FFZ Emote Menu icon not displaying properly when the menu is open.
* Changed: Styling of FFZ entries added to the chat settings menu to match the updated aesthetics.
* Changed: Update dependencies.
This commit is contained in:
SirStendec 2019-07-29 15:48:00 -04:00
parent a4d9483fa4
commit 37ef0c250e
7 changed files with 646 additions and 288 deletions

View file

@ -338,7 +338,7 @@ export default class Chat extends Module {
}
for(const [key, list] of colors) {
colors.set(key, new RegExp(`^${list.join('|')}$`, 'gi'));
colors.set(key, new RegExp(`^(?:${list.join('|')})$`, 'gi'));
}
return colors;
@ -389,7 +389,7 @@ export default class Chat extends Module {
if ( ! data.length )
return null;
return new RegExp(`^${data.join('|')}$`, 'gi');
return new RegExp(`^(?:${data.join('|')})$`, 'gi');
});
}
});