self.timers -> self._timers
This commit is contained in:
parent
90df25cd8d
commit
6ee2b6cf27
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ class Bot(object):
|
|||
if not self.get_server_by_id(server.id):
|
||||
reconnect_delay = self.config.get("reconnect-delay", 10)
|
||||
|
||||
self.timers.add("timed-reconnect", self._timed_reconnect,
|
||||
self._timers.add("timed-reconnect", self._timed_reconnect,
|
||||
reconnect_delay, server_id=server.id)
|
||||
self.reconnections[server.id] = timer
|
||||
|
||||
|
|
Loading…
Reference in a new issue