Socket: Use the right variable to initialize the reconnect delay

This commit is contained in:
Valentin Lorentz 2022-06-16 22:35:01 +02:00
parent 94d669ebec
commit 4a620bf7f0

View File

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