# HG changeset patch # User John Bailey # Date 1288569144 0 # Node ID f3e3e7fecf341d352de0d78f693066165a4b7327 # Parent 948a94dcff94ee0fa650ee01a591859e46929701 Tweak the login server migration for ICQ: darkrain42 pointed out that I put the wrong hostname in here for the secure AIM login server. We then discussed and determined that the migration code should also cover both non-secure AIM login server hostnames that we've used. diff -r 948a94dcff94 -r f3e3e7fecf34 libpurple/account.c --- a/libpurple/account.c Sun Oct 31 23:43:30 2010 +0000 +++ b/libpurple/account.c Sun Oct 31 23:52:24 2010 +0000 @@ -520,14 +520,15 @@ * for details on the change. */ if(purple_strequal(purple_account_get_protocol_id(account), "prpl-icq")) { + char *tmp = purple_account_get_string(account, "server", NULL); + /* Non-secure server */ - if(purple_strequal(purple_account_get_string(account, "server", NULL), - "login.messaging.aol.com")) + if(purple_strequal(tmp, "login.messaging.aol.com") || + purple_strequal(tmp, "login.oscar.aol.com")) purple_account_set_string(account, "server", "login.icq.com"); /* Secure server */ - if(purple_strequal(purple_account_get_string(account, "server", NULL), - "slogin.messaging.aol.com")) + if(purple_strequal(tmp, "slogin.oscar.aol.com")) purple_account_set_string(account, "server", "slogin.icq.com"); }