Let's be cool, Twisted.

This commit is contained in:
Jeremy Fincher 2004-08-23 21:29:38 +00:00
parent fa614b9986
commit 9db025a88a

View File

@ -73,8 +73,11 @@ class SupyIrcProtocol(LineReceiver):
def connectionLost(self, failure):
self.mostRecentCall.cancel()
self.irc.reset()
drivers.log.disconnect(self.factory.currentServer, errorMsg(failure))
if not irc.zombie:
self.irc.reset()
else:
self.factor.continueTrying = False
def connectionMade(self):
self.irc.reset()