diff src/away.c @ 4608:5fcb44d771d2

[gaim-migrate @ 4896] just because an account signs off doesn't mean we can forget about it ;-) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 24 Feb 2003 00:29:54 +0000
parents 3196d9044a45
children 42d53c416bb9
line wrap: on
line diff
--- a/src/away.c	Sun Feb 23 06:24:00 2003 +0000
+++ b/src/away.c	Mon Feb 24 00:29:54 2003 +0000
@@ -74,8 +74,8 @@
 			if (!g_strcasecmp(qm->name, name)) {
 				struct gaim_account *account = NULL;
 
-				if (g_slist_index(connections, qm->gc) >= 0)
-					account = qm->gc->account;
+				if (g_slist_index(gaim_accounts, qm->account) >= 0)
+					account = qm->account;
 
 				cnv = gaim_find_conversation(name);
 
@@ -114,8 +114,8 @@
 
 		account = NULL;
 
-		if (g_slist_index(connections, qm->gc) >= 0)
-			account = qm->gc->account;
+		if (g_slist_index(gaim_accounts, qm->account) >= 0)
+			account = qm->account;
 
 		cnv = gaim_find_conversation(qm->name);