mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fix for double-logging, to be sure...let's just hope it does something for the lack of exiting as well.
This commit is contained in:
parent
58176d41a9
commit
614ed32908
@ -112,8 +112,9 @@ class SupyReconnectingFactory(ReconnectingClientFactory, drivers.ServersMixin):
|
|||||||
ReconnectingClientFactory.clientConnectionFailed(self, connector, r)
|
ReconnectingClientFactory.clientConnectionFailed(self, connector, r)
|
||||||
|
|
||||||
def clientConnectionLost(self, connector, r):
|
def clientConnectionLost(self, connector, r):
|
||||||
drivers.log.disconnect(self.currentServer, errorMsg(r))
|
|
||||||
(connector.host, connector.port) = self._getNextServer()
|
(connector.host, connector.port) = self._getNextServer()
|
||||||
|
if self.irc.zombie:
|
||||||
|
self.continueTrying = False
|
||||||
ReconnectingClientFactory.clientConnectionLost(self, connector, r)
|
ReconnectingClientFactory.clientConnectionLost(self, connector, r)
|
||||||
|
|
||||||
def startedConnecting(self, connector):
|
def startedConnecting(self, connector):
|
||||||
|
Loading…
Reference in New Issue
Block a user