diff src/core.c @ 4491:3196d9044a45

[gaim-migrate @ 4766] aim_user is dead. long live gaim_account. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 31 Jan 2003 13:03:47 +0000
parents 0c68d402f59f
children 5a2bc74c283a
line wrap: on
line diff
--- a/src/core.c	Fri Jan 31 06:51:49 2003 +0000
+++ b/src/core.c	Fri Jan 31 13:03:47 2003 +0000
@@ -213,7 +213,7 @@
 static void user_handler(struct UI *ui, guchar subtype, guchar *data)
 {
 	guint id;
-	struct aim_user *u;
+	struct gaim_account *account;
 
 	switch (subtype) {
 		/*
@@ -230,9 +230,9 @@
 		if (!data)
 			return;
 		memcpy(&id, data, sizeof(id));
-		u = g_slist_nth_data(aim_users, id);
-		if (u)
-			serv_login(u);
+		account = g_slist_nth_data(gaim_accounts, id);
+		if (account)
+			serv_login(account);
 		/* don't need to do anything here because the UI will get updates from other handlers */
 		break;
 	default: