self.timers -> self._timers

This commit is contained in:
jesopo 2019-10-08 21:51:58 +01:00
parent 90df25cd8d
commit 6ee2b6cf27

View file

@ -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