mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 05:03:07 +01:00
Socket: Use the right variable to initialize the reconnect delay
This commit is contained in:
parent
94d669ebec
commit
4a620bf7f0
@ -92,7 +92,7 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
|
|||||||
return ret
|
return ret
|
||||||
|
|
||||||
def resetDelay(self):
|
def resetDelay(self):
|
||||||
self.currentDelay = conf.supybot.drivers.maxReconnectWait()
|
self.currentDelay = conf.supybot.drivers.minReconnectWait()
|
||||||
|
|
||||||
def _getNextServer(self):
|
def _getNextServer(self):
|
||||||
oldServer = getattr(self, 'currentServer', None)
|
oldServer = getattr(self, 'currentServer', None)
|
||||||
|
Loading…
Reference in New Issue
Block a user