mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Let's not try to queue our connect messages if we're zombie.
This commit is contained in:
parent
535d872cab
commit
bd3e056be4
@ -491,6 +491,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
self.outstandingPing = False
|
self.outstandingPing = False
|
||||||
|
|
||||||
def _queueConnectMessages(self):
|
def _queueConnectMessages(self):
|
||||||
|
if not self.zombie:
|
||||||
if self.password:
|
if self.password:
|
||||||
log.info('Sending PASS command, not logging the password.')
|
log.info('Sending PASS command, not logging the password.')
|
||||||
self.queueMsg(ircmsgs.password(self.password))
|
self.queueMsg(ircmsgs.password(self.password))
|
||||||
@ -741,6 +742,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
world.ircs.remove(self)
|
world.ircs.remove(self)
|
||||||
else:
|
else:
|
||||||
log.warning('Irc object killed twice.')
|
log.warning('Irc object killed twice.')
|
||||||
|
#utils.stackTrace()
|
||||||
|
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
return id(self)
|
return id(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user