mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-26 04:32:51 +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
|
||||
|
||||
def resetDelay(self):
|
||||
self.currentDelay = conf.supybot.drivers.maxReconnectWait()
|
||||
self.currentDelay = conf.supybot.drivers.minReconnectWait()
|
||||
|
||||
def _getNextServer(self):
|
||||
oldServer = getattr(self, 'currentServer', None)
|
||||
|
Loading…
Reference in New Issue
Block a user