mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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)
|
||||
|
||||
def connectionLost(self, failure):
|
||||
self.irc.reset()
|
||||
self.mostRecentCall.cancel()
|
||||
drivers.log.disconnect(self.factory.currentServer, errorMsg(failure))
|
||||
if self.irc.zombie:
|
||||
@ -84,7 +85,6 @@ class SupyIrcProtocol(LineReceiver):
|
||||
def connectionMade(self):
|
||||
self.factory.resetDelay()
|
||||
self.irc.driver = self
|
||||
self.irc.reset()
|
||||
|
||||
def die(self):
|
||||
drivers.log.die(self.irc)
|
||||
|
Loading…
Reference in New Issue
Block a user