Revert ".eat()ing privmsg/notice send should be high priority"

This reverts commit d2155eb204.
This commit is contained in:
jesopo 2019-07-30 15:01:29 +01:00
parent d2155eb204
commit 0969127a36

View file

@ -4,8 +4,8 @@ CAP = utils.irc.Capability("echo-message", depends_on=["labeled-response"])
@utils.export("cap", CAP)
class Module(ModuleManager.BaseModule):
@utils.hook("raw.send.privmsg", priority=EventManager.PRIORITY_HIGH)
@utils.hook("raw.send.notice", priority=EventManager.PRIORITY_HIGH)
@utils.hook("raw.send.privmsg", priority=EventManager.PRIORITY_LOW)
@utils.hook("raw.send.notice", priority=EventManager.PRIORITY_LOW)
def send_message(self, event):
if event["server"].has_capability(CAP):
event.eat()