mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Let's be cool, Twisted.
This commit is contained in:
parent
fa614b9986
commit
9db025a88a
@ -73,8 +73,11 @@ class SupyIrcProtocol(LineReceiver):
|
|||||||
|
|
||||||
def connectionLost(self, failure):
|
def connectionLost(self, failure):
|
||||||
self.mostRecentCall.cancel()
|
self.mostRecentCall.cancel()
|
||||||
self.irc.reset()
|
|
||||||
drivers.log.disconnect(self.factory.currentServer, errorMsg(failure))
|
drivers.log.disconnect(self.factory.currentServer, errorMsg(failure))
|
||||||
|
if not irc.zombie:
|
||||||
|
self.irc.reset()
|
||||||
|
else:
|
||||||
|
self.factor.continueTrying = False
|
||||||
|
|
||||||
def connectionMade(self):
|
def connectionMade(self):
|
||||||
self.irc.reset()
|
self.irc.reset()
|
||||||
|
Loading…
Reference in New Issue
Block a user