1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-30 14:38:31 +00:00

4.0.0-rc12.16

* Fixed: Typo in chat code fixes causing message deletion setting to not work correctly.
* Fixed: Remove request causing following directory to crash, until such time as we can figure out why it's happening.
This commit is contained in:
SirStendec 2018-08-27 23:08:44 -04:00
parent cf3de0d238
commit 380037d64c
5 changed files with 6 additions and 17 deletions

View file

@ -603,7 +603,7 @@ export default class ChatHook extends Module {
} else if ( msg.type === types.Moderation ) {
const login = msg.userLogin;
if ( this.moderatedUsers.has(login) )
if ( inst.moderatedUsers.has(login) )
return;
const do_remove = t.chat.context.get('chat.filtering.remove-deleted') === 3,
@ -644,11 +644,12 @@ export default class ChatHook extends Module {
}
} catch(err) {
t.log.error('Error processing chat event.', err);
t.log.capture(err, {extra: {msg}});
}
}
return old_handle.call(this, msg);
return old_handle.call(inst, msg);
}
inst.getMessages = function() {