Include NOTICEs in ignores

This commit is contained in:
jesopo 2019-07-01 19:52:49 +01:00
parent 97f891a632
commit 3d7b3c922a

View file

@ -21,6 +21,8 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.message.private") @utils.hook("received.message.private")
@utils.hook("received.message.channel") @utils.hook("received.message.channel")
@utils.hook("received.notice.private")
@utils.hook("received.notice.channel")
def message(self, event): def message(self, event):
if self._user_ignored(event["user"]): if self._user_ignored(event["user"]):
event.eat() event.eat()