From be6116f958f1bcc905c9824b0b02399c635ea6cf Mon Sep 17 00:00:00 2001 From: Milos Petkovic Date: Mon, 17 Jun 2013 08:09:16 +0200 Subject: [PATCH] Reset network uptime on reconnection as well --- src/irclib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/irclib.py b/src/irclib.py index a8e1f1e78..dfb73022b 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -910,6 +910,7 @@ class Irc(IrcCommandDispatcher): self.lastTake = 0 self.server = 'unset' self.afterConnect = False + self.startedAt = time.time() self.lastping = time.time() self.outstandingPing = False