aboutsummaryrefslogtreecommitdiff
path: root/modules/bot_channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bot_channel.py')
-rw-r--r--modules/bot_channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bot_channel.py b/modules/bot_channel.py
index fc4fe813..cbe50119 100644
--- a/modules/bot_channel.py
+++ b/modules/bot_channel.py
@@ -2,7 +2,7 @@
class Module(object):
def __init__(self, bot, events, exports):
- events.on("received").on("numeric").on("001").hook(self.do_join)
+ events.on("received.numeric.001").hook(self.do_join)
exports.add("serverset", {"setting": "bot-channel",
"help": "Set main channel"})