mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +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):
|
||||
self.mostRecentCall.cancel()
|
||||
self.factory.irc.reset()
|
||||
debug.msg(failure.getErrorMessage(), 'normal')
|
||||
|
||||
def connectionMade(self):
|
||||
self.factory.irc.driver = self
|
||||
self.factory.irc.reset()
|
||||
|
||||
def die(self):
|
||||
self.transport.loseConnection()
|
||||
|
Loading…
Reference in New Issue
Block a user