mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +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):
|
def reset(self):
|
||||||
"""Resets the Irc object. Called when the driver reconnects."""
|
"""Resets the Irc object. Called when the driver reconnects."""
|
||||||
if self.zombie:
|
|
||||||
self._reallyDie()
|
|
||||||
return
|
|
||||||
self._setNonResettingVariables()
|
self._setNonResettingVariables()
|
||||||
self.state.reset()
|
self.state.reset()
|
||||||
self.queue.reset()
|
self.queue.reset()
|
||||||
@ -549,7 +546,10 @@ class Irc(IrcCommandDispatcher):
|
|||||||
self.outstandingPing = False
|
self.outstandingPing = False
|
||||||
|
|
||||||
def _queueConnectMessages(self):
|
def _queueConnectMessages(self):
|
||||||
if not self.zombie:
|
if self.zombie:
|
||||||
|
self.driver.die()
|
||||||
|
self._reallyDie()
|
||||||
|
else:
|
||||||
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))
|
||||||
|
Loading…
Reference in New Issue
Block a user