Include NOTICEs in ignores
This commit is contained in:
parent
97f891a632
commit
3d7b3c922a
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
@utils.hook("received.message.private")
|
||||
@utils.hook("received.message.channel")
|
||||
@utils.hook("received.notice.private")
|
||||
@utils.hook("received.notice.channel")
|
||||
def message(self, event):
|
||||
if self._user_ignored(event["user"]):
|
||||
event.eat()
|
||||
|
|
Loading…
Reference in a new issue