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:
drivers.log.disconnect(self.factory.currentServer, errorMsg(r))
if self.irc.zombie:
# Let's take and take and take until our IRC is DESTROYED!
x = 1
while x:
x = self.irc.takeMsg()
self.factory.continueTrying = False
while self.irc.takeMsg():
continue
else:
self.irc.reset()