Don't pass connection_params through to reconnect in normal circumstances
This commit is contained in:
parent
257659aa73
commit
0a70fda6dc
1 changed files with 1 additions and 2 deletions
|
@ -207,8 +207,7 @@ class Bot(object):
|
||||||
if not self.get_server(server.id):
|
if not self.get_server(server.id):
|
||||||
reconnect_delay = self.config.get("reconnect-delay", 10)
|
reconnect_delay = self.config.get("reconnect-delay", 10)
|
||||||
self._timers.add("reconnect", reconnect_delay,
|
self._timers.add("reconnect", reconnect_delay,
|
||||||
server_id=server.id,
|
server_id=server.id)
|
||||||
connection_params=server.connection_params)
|
|
||||||
self.log.info(
|
self.log.info(
|
||||||
"Disconnected from %s, reconnecting in %d seconds",
|
"Disconnected from %s, reconnecting in %d seconds",
|
||||||
[str(server), reconnect_delay])
|
[str(server), reconnect_delay])
|
||||||
|
|
Loading…
Reference in a new issue