mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Added log of PING-based disconnect.
This commit is contained in:
parent
662024d63d
commit
7f90fdc712
@ -357,6 +357,7 @@ class Irc(object):
|
||||
msg = self.queue.dequeue()
|
||||
elif len(self.outstandingPongs) > 2:
|
||||
# Our pings hasn't be responded to.
|
||||
debug.msg('Reconnecting, 3 pings not replied to.', 'normal')
|
||||
if hasattr(self.driver, 'scheduleReconnect'):
|
||||
self.driver.scheduleReconnect()
|
||||
self.driver.die()
|
||||
|
Loading…
Reference in New Issue
Block a user