mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +01:00
Made the driver reset the Irc on disconnection, not connection.
This commit is contained in:
parent
c38099550e
commit
b1a392c691
@ -77,11 +77,11 @@ class SupyIrcProtocol(LineReceiver):
|
|||||||
|
|
||||||
def connectionLost(self, failure):
|
def connectionLost(self, failure):
|
||||||
self.mostRecentCall.cancel()
|
self.mostRecentCall.cancel()
|
||||||
|
self.factory.irc.reset()
|
||||||
debug.msg(failure.getErrorMessage(), 'normal')
|
debug.msg(failure.getErrorMessage(), 'normal')
|
||||||
|
|
||||||
def connectionMade(self):
|
def connectionMade(self):
|
||||||
self.factory.irc.driver = self
|
self.factory.irc.driver = self
|
||||||
self.factory.irc.reset()
|
|
||||||
|
|
||||||
def die(self):
|
def die(self):
|
||||||
self.transport.loseConnection()
|
self.transport.loseConnection()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user