- Reset retrycount if we auth successfully, so we can start retrying at 10 seconds instead of 15 minutes. This is an old bug, but wasn't noticable with 10 vs 20 seconds.

This commit is contained in:
junglecow 2006-12-10 20:22:02 +00:00
parent d3cebabbbd
commit 7fbb4279ac
1 changed files with 1 additions and 0 deletions

View File

@ -453,6 +453,7 @@ class Connection(ConnectionHandlers):
if auth:
self.last_io = gajim.idlequeue.current_time()
self.connected = 2
self.retrycount = 0
if self.on_connect_auth:
self.on_connect_auth(con)
self.on_connect_auth = None