reset last_incoming value when we connect

This commit is contained in:
Yann Leboulanger 2005-06-30 16:57:42 +00:00
parent f2cedc68a3
commit a99c509b24
1 changed files with 1 additions and 0 deletions

View File

@ -712,6 +712,7 @@ class Connection:
return None return None
if auth: if auth:
con.initRoster() con.initRoster()
self.last_incoming = time.time()
self.connected = 2 self.connected = 2
return con # return connection return con # return connection
else: else: