aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-10 20:49:03 +0000
committerGravatar jesopo2019-02-10 20:49:03 +0000
commitabf5679b682c560a98c53aa9fc8dd49fe1ad49b2 (patch)
treee1dea5b6dd08b7bdccd03984026f78d1b89e8f95 /modules/line_handler.py
parentAdd `IRCServer.hostmask()` to construct our nick!user@host hostmask (diff)
signature
Parse sent data in IRCServer._send, not IRCServer.send
Diffstat (limited to 'modules/line_handler.py')
-rw-r--r--modules/line_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py
index db28448f..22d505fa 100644
--- a/modules/line_handler.py
+++ b/modules/line_handler.py
@@ -42,7 +42,7 @@ class Module(ModuleManager.BaseModule):
else:
self._handle(event["server"], line)
- @utils.hook("preprocess.send")
+ @utils.hook("raw.send")
def handle_send(self, event):
line = utils.irc.parse_line(event["line"])
self.events.on("raw.send").on(line.command).call_unsafe(