Mercurial > pidgin
changeset 23312:afdbbf36499e
Added account option for oscar accounts to allow multipe simultaneous logins,
which defaults to TRUE, our previous behavior.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 07 Jun 2008 18:42:12 +0000 |
parents | f1a0258b44f4 |
children | 9c0ee2491ed1 |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;