changeset 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 79d624f7c3ee
children 46fd9b9a667d
files libpurple/account.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
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;
 }