Prevent a TTL bug.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 9 Oct 2012 00:24:40 +0000 (20:24 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 9 Oct 2012 00:24:40 +0000 (20:24 -0400)
irkerd

diff --git a/irkerd b/irkerd
index 67d08286d041c1965888a3bece7e569dee0738a8..3005dbe9157bc20563f3a4a9c17919b0f8fec45b 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -232,6 +232,7 @@ class Connection:
                             self.status = "handshaking"
                             self.irker.debug(1, "XMIT_TTL bump (%s connection) at %s" % (self.servername, time.asctime()))
                             self.last_xmit = time.time()
+                            self.last_ping = time.time()
                         except irc.client.ServerConnectionError:
                             self.status = "disconnected"
                 elif self.status == "handshaking":