aboutsummaryrefslogtreecommitdiff
path: root/start.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-31 12:55:52 +0100
committerGravatar dongfix2018-08-31 13:44:39 +0100
commitb7cf524e9869828ff85954cb731f7fee98bee8d9 (patch)
treed5d887ac82f3e50f0ea295953981363c1c5e7c5a /start.py
parentRevert "Reformat" (diff)
signature
Give modules event objects with "context"s, to facilitate purging all the event
hooks for a module
Diffstat (limited to 'start.py')
-rwxr-xr-xstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.py b/start.py
index 403815fd..6dabd853 100755
--- a/start.py
+++ b/start.py
@@ -37,7 +37,7 @@ for server_detail in server_details:
if not server == None:
servers.append(server)
if len(servers):
- bot.events.on("boot").on("done").call()
+ bot._events.on("boot").on("done").call()
for server in servers:
if not bot.connect(server):
sys.stderr.write("failed to connect to '%s', exiting\r\n" % (