aboutsummaryrefslogtreecommitdiff
path: root/modules/print_activity.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-16 15:53:14 +0000
committerGravatar jesopo2019-02-16 15:53:14 +0000
commitfaf240106907782dd3771af30eaf08dbc0b9af45 (patch)
treeee028ee382c8c025350f1a2b7439c266ddd1ee66 /modules/print_activity.py
parentKeep a track of channels we're in, in case we RESUME and need to get channel (diff)
'received.numeric.###' -> 'received.###' throughout project
Diffstat (limited to 'modules/print_activity.py')
-rw-r--r--modules/print_activity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py
index 43a69533..295ffeb2 100644
--- a/modules/print_activity.py
+++ b/modules/print_activity.py
@@ -118,7 +118,7 @@ class Module(ModuleManager.BaseModule):
def on_topic(self, event):
self._on_topic(event, event["user"].nickname, "changed",
event["topic"], event["channel"])
- @utils.hook("received.numeric.333")
+ @utils.hook("received.333")
def on_333(self, event):
self._on_topic(event, event["setter"], "set",
event["channel"].topic, event["channel"])
@@ -142,7 +142,7 @@ class Module(ModuleManager.BaseModule):
self.print_line(event, "%s was renamed to %s" % (
event["old_name"], event["new_name"]))
- @utils.hook("received.numeric.376")
+ @utils.hook("received.376")
def motd_end(self, event):
for line in event["server"].motd_lines:
self.print_line(event, "[MOTD] %s" % line)