From ed838193aa2b6c9e4ecfcad7dc1710ece737aad3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 14 Nov 2018 14:41:28 +0000 Subject: Better support passing "send" events through the parsers already present in modules/line_handler.py --- modules/words.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/words.py') diff --git a/modules/words.py b/modules/words.py index 153c0a78..a4295b79 100644 --- a/modules/words.py +++ b/modules/words.py @@ -32,7 +32,7 @@ class Module(ModuleManager.BaseModule): priority=EventManager.PRIORITY_MONITOR) def channel_message(self, event): self._channel_message(event["user"], event) - @utils.hook("self.message.channel", + @utils.hook("send.message.channel", priority=EventManager.PRIORITY_MONITOR) def self_channel_message(self, event): self._channel_message(event["server"].get_user( -- cgit v1.3.1-10-gc9f91