# HG changeset patch # User Evan Schoenberg # Date 1212864132 0 # Node ID afdbbf36499ec69d86238e4fc03e66ef15fac366 # Parent f1a0258b44f425775f7b85c226b8495545480bff Added account option for oscar accounts to allow multipe simultaneous logins, which defaults to TRUE, our previous behavior. diff -r f1a0258b44f4 -r afdbbf36499e libpurple/protocols/oscar/oscar.c --- a/libpurple/protocols/oscar/oscar.c Sat Jun 07 15:41:05 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.c Sat Jun 07 18:42:12 2008 +0000 @@ -1812,7 +1812,7 @@ aim_send_login(od, conn, purple_account_get_username(account), purple_connection_get_password(gc), truncate_pass, od->icq ? &icqinfo : &aiminfo, key, - /* allow multple logins? */ OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS); + /* allow multple logins? */ purple_account_get_bool(account, "allow_multiple_logins", OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS)); purple_connection_update_progress(gc, _("Password sent"), 2, OSCAR_CONNECT_STEPS); ck[2] = 0x6c; @@ -6769,6 +6769,10 @@ OSCAR_DEFAULT_ALWAYS_USE_RV_PROXY); prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option); + option = purple_account_option_bool_new(_("Allow multiple simultaneous logins"), "allow_multiple_logins", + OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS); + prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option); + if (init) return; init = TRUE;