mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Let's try this for the connection problem bugs.
This commit is contained in:
parent
4d60937c69
commit
ffddc953e2
@ -521,9 +521,6 @@ class Irc(IrcCommandDispatcher):
|
||||
|
||||
def reset(self):
|
||||
"""Resets the Irc object. Called when the driver reconnects."""
|
||||
if self.zombie:
|
||||
self._reallyDie()
|
||||
return
|
||||
self._setNonResettingVariables()
|
||||
self.state.reset()
|
||||
self.queue.reset()
|
||||
@ -549,7 +546,10 @@ class Irc(IrcCommandDispatcher):
|
||||
self.outstandingPing = False
|
||||
|
||||
def _queueConnectMessages(self):
|
||||
if not self.zombie:
|
||||
if self.zombie:
|
||||
self.driver.die()
|
||||
self._reallyDie()
|
||||
else:
|
||||
if self.password:
|
||||
log.info('Sending PASS command, not logging the password.')
|
||||
self.queueMsg(ircmsgs.password(self.password))
|
||||
|
Loading…
Reference in New Issue
Block a user