w00t, stopped the double killing, made the code cleaner, I rock rock rock.

This commit is contained in:
Jeremy Fincher 2004-09-30 22:54:29 +00:00
parent b0f12ac0c5
commit 1f882ac521
1 changed files with 3 additions and 4 deletions

View File

@ -79,10 +79,9 @@ class SupyIrcProtocol(LineReceiver):
else: else:
drivers.log.disconnect(self.factory.currentServer, errorMsg(r)) 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! self.factory.continueTrying = False
x = 1 while self.irc.takeMsg():
while x: continue
x = self.irc.takeMsg()
else: else:
self.irc.reset() self.irc.reset()