mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
w00t, stopped the double killing, made the code cleaner, I rock rock rock.
This commit is contained in:
parent
b0f12ac0c5
commit
1f882ac521
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user