Reset network uptime on reconnection as well

This commit is contained in:
Milos Petkovic 2013-06-17 08:09:16 +02:00
parent 774158f2ec
commit be6116f958

View File

@ -910,6 +910,7 @@ class Irc(IrcCommandDispatcher):
self.lastTake = 0 self.lastTake = 0
self.server = 'unset' self.server = 'unset'
self.afterConnect = False self.afterConnect = False
self.startedAt = time.time()
self.lastping = time.time() self.lastping = time.time()
self.outstandingPing = False self.outstandingPing = False