Now we log connects in twistedDrivers as well.

This commit is contained in:
Jeremy Fincher 2004-07-31 06:17:27 +00:00
parent 20e972ec1f
commit c98ac36ccc

View File

@ -112,6 +112,9 @@ class SupyReconnectingFactory(ReconnectingClientFactory, drivers.ServersMixin):
(connector.host, connector.port) = self._getNextServer()
ReconnectingClientFactory.clientConnectionLost(self, connector, r)
def startedConnecting(self, connector):
drivers.log.connect(self.currentServer)
def buildProtocol(self, addr):
protocol = ReconnectingClientFactory.buildProtocol(self, addr)
protocol.irc = self.irc