Mercurial > pidgin.yaz
diff libpurple/account.c @ 19604:e6364b0679b0
I can't get this code to trigger. I think the conversion from
prpl-oscar to prpl-aim or prpl-icq happens earlier in the pipeline.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 03 Sep 2007 09:52:44 +0000 |
parents | 1ca6c4b234ab |
children | 44b4e8bd759b 1d2002a5735e |
line wrap: on
line diff
--- a/libpurple/account.c Mon Sep 03 09:45:56 2007 +0000 +++ b/libpurple/account.c Mon Sep 03 09:52:44 2007 +0000 @@ -1720,15 +1720,6 @@ purple_account_get_protocol_id(const PurpleAccount *account) { g_return_val_if_fail(account != NULL, NULL); - /* - * HACK by Seanegan - */ - if (!strcmp(account->protocol_id, "prpl-oscar")) { - if (isdigit(account->username[0])) - return "prpl-icq"; - else - return "prpl-aim"; - } return account->protocol_id; }