From 86bbd370fb1aa58a18b36ea59c0b2cf954f1b043 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 5 Nov 2018 12:29:13 +0000 Subject: [PATCH] 'self.events' -> 'self._events' in IRCBot --- src/IRCBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRCBot.py b/src/IRCBot.py index befc2a72..07efefc5 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -27,7 +27,7 @@ class Bot(object): self.add_socket(Socket.Socket(self._trigger_server, lambda _, s: None)) self._trigger_functions = [] - self.events.hook("timer.reconnect", self._timed_reconnect) + self._events.hook("timer.reconnect", self._timed_reconnect) def trigger(self, func: typing.Callable[[], typing.Any]=None): self.lock.acquire()