mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Now we log connects in twistedDrivers as well.
This commit is contained in:
parent
20e972ec1f
commit
c98ac36ccc
@ -112,6 +112,9 @@ class SupyReconnectingFactory(ReconnectingClientFactory, drivers.ServersMixin):
|
|||||||
(connector.host, connector.port) = self._getNextServer()
|
(connector.host, connector.port) = self._getNextServer()
|
||||||
ReconnectingClientFactory.clientConnectionLost(self, connector, r)
|
ReconnectingClientFactory.clientConnectionLost(self, connector, r)
|
||||||
|
|
||||||
|
def startedConnecting(self, connector):
|
||||||
|
drivers.log.connect(self.currentServer)
|
||||||
|
|
||||||
def buildProtocol(self, addr):
|
def buildProtocol(self, addr):
|
||||||
protocol = ReconnectingClientFactory.buildProtocol(self, addr)
|
protocol = ReconnectingClientFactory.buildProtocol(self, addr)
|
||||||
protocol.irc = self.irc
|
protocol.irc = self.irc
|
||||||
|
Loading…
Reference in New Issue
Block a user