Small update.

This commit is contained in:
Jeremy Fincher 2004-09-30 09:56:34 +00:00
parent 84ea24d27f
commit 129b8a212b

View File

@ -74,10 +74,10 @@ class SupyIrcProtocol(LineReceiver):
def connectionLost(self, r): def connectionLost(self, r):
self.mostRecentCall.cancel() self.mostRecentCall.cancel()
if not r.check(error.ConnectionDone): if r.check(error.ConnectionDone):
drivers.log.disconnect(self.factory.currentServer, errorMsg(r))
else:
drivers.log.disconnect(self.factory.currentServer) drivers.log.disconnect(self.factory.currentServer)
else:
drivers.log.disconnect(self.factory.currentServer, errorMsg(r))
if self.irc.zombie: if self.irc.zombie:
# Let's take and take and take until our IRC is DESTROYED! # Let's take and take and take until our IRC is DESTROYED!
x = 1 x = 1