--- a/plugins/autorecon.c Wed May 25 23:28:53 2005 -0400
+++ b/plugins/autorecon.c Thu May 26 08:15:03 2005 -0400
@@ -142,6 +142,7 @@
+ g_return_if_fail(gc != NULL); account = gaim_connection_get_account(gc);
/* only restore the state if the user says so */
@@ -151,10 +152,8 @@
serv_set_away(gc, state->state, state->message);
- /* we reconnected, reset the delay */
- recon = g_hash_table_lookup(hash, account);
- recon->delay = INITIAL;
+ /* we reconnected, remove from the hash table of disconnected accounts */ + g_hash_table_remove(hash, account);