diff plugins/autorecon.c @ 10942:77cb56ff14e1

[gaim-migrate @ 12733] If we've reconnected, remove the account from the hash table of disconnected accounts committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 26 May 2005 12:15:13 +0000
parents bb6fea81e770
children 50224ac8184d
line wrap: on
line diff
--- a/plugins/autorecon.c	Thu May 26 04:13:06 2005 +0000
+++ b/plugins/autorecon.c	Thu May 26 12:15:13 2005 +0000
@@ -202,11 +202,13 @@
 
 	g_return_if_fail(gc != NULL);
 
+	account = gaim_connection_get_account(gc);
+
+	g_hash_table_remove(hash, account);
+
 	if (accountReconnecting == NULL)
 		return;
 
-	account = gaim_connection_get_account(gc);
-
 	accountReconnecting = g_slist_remove(accountReconnecting, account);
 }