diff libpurple/protocols/oscar/oscar.c @ 23313:f1a0258b44f4

Added paramater to aim_send_login() to allow control over whether we want multiple logins or not per AIM connection. If TRUE, we have the current behavior, in which the AIM server prompts the user as to what to do. If FALSE, existing logins are disconnected as we connect. We pass OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS, which is TRUE.
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 07 Jun 2008 15:41:05 +0000
parents e9dc6fdbf257
children afdbbf36499e
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Sat Jun 07 14:26:41 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sat Jun 07 15:41:05 2008 +0000
@@ -1811,7 +1811,8 @@
 
 	aim_send_login(od, conn, purple_account_get_username(account),
 			purple_connection_get_password(gc), truncate_pass,
-			od->icq ? &icqinfo : &aiminfo, key);
+			od->icq ? &icqinfo : &aiminfo, key,
+			/* allow multple logins? */ OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS);
 
 	purple_connection_update_progress(gc, _("Password sent"), 2, OSCAR_CONNECT_STEPS);
 	ck[2] = 0x6c;