Revert ".eat()ing privmsg/notice send should be high priority"
This reverts commit d2155eb204
.
This commit is contained in:
parent
d2155eb204
commit
0969127a36
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ CAP = utils.irc.Capability("echo-message", depends_on=["labeled-response"])
|
||||||
|
|
||||||
@utils.export("cap", CAP)
|
@utils.export("cap", CAP)
|
||||||
class Module(ModuleManager.BaseModule):
|
class Module(ModuleManager.BaseModule):
|
||||||
@utils.hook("raw.send.privmsg", priority=EventManager.PRIORITY_HIGH)
|
@utils.hook("raw.send.privmsg", priority=EventManager.PRIORITY_LOW)
|
||||||
@utils.hook("raw.send.notice", priority=EventManager.PRIORITY_HIGH)
|
@utils.hook("raw.send.notice", priority=EventManager.PRIORITY_LOW)
|
||||||
def send_message(self, event):
|
def send_message(self, event):
|
||||||
if event["server"].has_capability(CAP):
|
if event["server"].has_capability(CAP):
|
||||||
event.eat()
|
event.eat()
|
||||||
|
|
Loading…
Reference in a new issue