# HG changeset patch # User Mark Doliner # Date 1188813164 0 # Node ID e6364b0679b0c66945ef56008b71539b8cd1d703 # Parent 79d624f7c3eed744e48b698da3264bc41c49e77d 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. diff -r 79d624f7c3ee -r e6364b0679b0 libpurple/account.c --- 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; }