mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-25 18:10:44 +01:00
Stopped double-queuing problem.
This commit is contained in:
parent
23fb9e1c7b
commit
70111b5b06
@ -73,6 +73,7 @@ class SupyIrcProtocol(LineReceiver):
|
|||||||
self.mostRecentCall = reactor.callLater(1, self.checkIrcForMsgs)
|
self.mostRecentCall = reactor.callLater(1, self.checkIrcForMsgs)
|
||||||
|
|
||||||
def connectionLost(self, failure):
|
def connectionLost(self, failure):
|
||||||
|
self.irc.reset()
|
||||||
self.mostRecentCall.cancel()
|
self.mostRecentCall.cancel()
|
||||||
drivers.log.disconnect(self.factory.currentServer, errorMsg(failure))
|
drivers.log.disconnect(self.factory.currentServer, errorMsg(failure))
|
||||||
if self.irc.zombie:
|
if self.irc.zombie:
|
||||||
@ -84,7 +85,6 @@ class SupyIrcProtocol(LineReceiver):
|
|||||||
def connectionMade(self):
|
def connectionMade(self):
|
||||||
self.factory.resetDelay()
|
self.factory.resetDelay()
|
||||||
self.irc.driver = self
|
self.irc.driver = self
|
||||||
self.irc.reset()
|
|
||||||
|
|
||||||
def die(self):
|
def die(self):
|
||||||
drivers.log.die(self.irc)
|
drivers.log.die(self.irc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user