mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Prevented deprecation warning and added another logging feature.
This commit is contained in:
parent
a861941626
commit
f6488d6071
@ -46,8 +46,9 @@ class SupyIrcProtocol(LineReceiver):
|
||||
self.transport.write(str(msg))
|
||||
self.mostRecentCall = reactor.callLater(1, self.checkIrcForMsgs)
|
||||
|
||||
def connectionLost(self):
|
||||
def connectionLost(self, failure):
|
||||
self.mostRecentCall.cancel()
|
||||
debug.msg(failure.getErrorMessage(), 'normal')
|
||||
|
||||
def connectionMade(self):
|
||||
self.factory.irc.driver = self
|
||||
|
Loading…
Reference in New Issue
Block a user