From b7cf524e9869828ff85954cb731f7fee98bee8d9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 31 Aug 2018 12:55:52 +0100 Subject: Give modules event objects with "context"s, to facilitate purging all the event hooks for a module --- start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'start.py') 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" % ( -- cgit v1.3.1-10-gc9f91