mirror of https://github.com/Mikaela/Limnoria.git
Let's not try to queue our connect messages if we're zombie.
This commit is contained in:
parent
535d872cab
commit
bd3e056be4
|
@ -491,14 +491,15 @@ class Irc(IrcCommandDispatcher):
|
||||||
self.outstandingPing = False
|
self.outstandingPing = False
|
||||||
|
|
||||||
def _queueConnectMessages(self):
|
def _queueConnectMessages(self):
|
||||||
if self.password:
|
if not self.zombie:
|
||||||
log.info('Sending PASS command, not logging the password.')
|
if self.password:
|
||||||
self.queueMsg(ircmsgs.password(self.password))
|
log.info('Sending PASS command, not logging the password.')
|
||||||
log.info('Queuing NICK command, nick is %s.', self.nick)
|
self.queueMsg(ircmsgs.password(self.password))
|
||||||
self.queueMsg(ircmsgs.nick(self.nick))
|
log.info('Queuing NICK command, nick is %s.', self.nick)
|
||||||
log.info('Queuing USER command, ident is %s, user is %s.',
|
self.queueMsg(ircmsgs.nick(self.nick))
|
||||||
self.ident, self.user)
|
log.info('Queuing USER command, ident is %s, user is %s.',
|
||||||
self.queueMsg(ircmsgs.user(self.ident, self.user))
|
self.ident, self.user)
|
||||||
|
self.queueMsg(ircmsgs.user(self.ident, self.user))
|
||||||
|
|
||||||
def _getNextNick(self):
|
def _getNextNick(self):
|
||||||
if self.alternateNicks:
|
if self.alternateNicks:
|
||||||
|
@ -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