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:
Jeremy Fincher 2004-08-25 04:32:10 +00:00
parent 58176d41a9
commit 614ed32908

View File

@ -112,8 +112,9 @@ class SupyReconnectingFactory(ReconnectingClientFactory, drivers.ServersMixin):
ReconnectingClientFactory.clientConnectionFailed(self, connector, r)
def clientConnectionLost(self, connector, r):
drivers.log.disconnect(self.currentServer, errorMsg(r))
(connector.host, connector.port) = self._getNextServer()
if self.irc.zombie:
self.continueTrying = False
ReconnectingClientFactory.clientConnectionLost(self, connector, r)
def startedConnecting(self, connector):