changeset 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 cef48e318125
children aa1df43e474c
files plugins/autorecon.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
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);
 }