diff plugins/yay/yay.c @ 1089:f0f5c10cce63

[gaim-migrate @ 1099] added a cancel button to the progress meter committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 13 Nov 2000 02:58:00 +0000
parents 0b0b4cb53c17
children 79cdc86ef4c6
line wrap: on
line diff
--- a/plugins/yay/yay.c	Mon Nov 13 00:37:02 2000 +0000
+++ b/plugins/yay/yay.c	Mon Nov 13 02:58:00 2000 +0000
@@ -196,7 +196,7 @@
 }
 
 static void yahoo_login(struct aim_user *user) {
-	struct gaim_connection *gc = new_gaim_conn(PROTO_YAHOO, user->username, user->password);
+	struct gaim_connection *gc = new_gaim_conn(user);
 	struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1);
 	int i;
 
@@ -247,7 +247,7 @@
 	}
 
 	debug_printf("Yahoo: logged in %s\n", gc->username);
-	account_online(user, gc);
+	account_online(gc);
 	serv_finish_login(gc);
 
 	gc->inpa = gdk_input_add(ctxt->sockfd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION,