ircv3_botignore.py should use HIGH priority

This commit is contained in:
jesopo 2019-07-09 21:25:43 +01:00
parent b7fa8a2f52
commit 55e5693341

View file

@ -1,10 +1,11 @@
from src import ModuleManager, utils
from src import EventManager, ModuleManager, utils
TAG = utils.irc.MessageTag(None, "inspircd.org/bot")
class Module(ModuleManager.BaseModule):
@utils.hook("received.message.private")
@utils.hook("received.message.channel")
@utils.kwarg("priority", EventManager.PRIORITY_HIGH)
def message(self, event):
if TAG.present(event["tags"]):
event.eat()