mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-23 00:50:38 +01:00
Oops, I added these before I figured out the actual bug.
This commit is contained in:
parent
a641a1c437
commit
cd91e37bc6
@ -109,7 +109,6 @@ class SupyReconnectingFactory(ReconnectingClientFactory, drivers.ServersMixin):
|
|||||||
drivers.ServersMixin.__init__(self, irc)
|
drivers.ServersMixin.__init__(self, irc)
|
||||||
(server, port) = self._getNextServer()
|
(server, port) = self._getNextServer()
|
||||||
reactor.connectTCP(server, port, self)
|
reactor.connectTCP(server, port, self)
|
||||||
ReconnectingClientFactory.__init__(self)
|
|
||||||
|
|
||||||
def clientConnectionFailed(self, connector, r):
|
def clientConnectionFailed(self, connector, r):
|
||||||
drivers.log.connectError(self.currentServer, errorMsg(r))
|
drivers.log.connectError(self.currentServer, errorMsg(r))
|
||||||
@ -123,7 +122,6 @@ class SupyReconnectingFactory(ReconnectingClientFactory, drivers.ServersMixin):
|
|||||||
|
|
||||||
def startedConnecting(self, connector):
|
def startedConnecting(self, connector):
|
||||||
drivers.log.connect(self.currentServer)
|
drivers.log.connect(self.currentServer)
|
||||||
ReconnectingClientFactory.startedConnecting(self, connector)
|
|
||||||
|
|
||||||
def buildProtocol(self, addr):
|
def buildProtocol(self, addr):
|
||||||
protocol = ReconnectingClientFactory.buildProtocol(self, addr)
|
protocol = ReconnectingClientFactory.buildProtocol(self, addr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user