1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed big in autreconnect, reset timer on each connection attempt

This commit is contained in:
James Booth 2013-01-26 19:54:57 +00:00
parent bbdc341325
commit c03a936789

View File

@ -190,6 +190,7 @@ jabber_process_events(void)
if (g_timer_elapsed(reconnect_timer, NULL) > prefs_get_reconnect()) {
log_debug("Attempting reconnect as %s", saved_user.jid);
jabber_connect(saved_user.jid, saved_user.passwd, saved_user.altdomain);
g_timer_start(reconnect_timer);
}
}
}