Added log of PING-based disconnect.

This commit is contained in:
Jeremy Fincher 2003-04-12 12:21:21 +00:00
parent 662024d63d
commit 7f90fdc712

View File

@ -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()