diff libpurple/util.c @ 31832:73b005a20d06

Remove the _purple_oscar_convert(). It existed to migrate data from prpl-oscar to prpl-aim and prpl-icq. Fixes #2923
author Mark Doliner <mark@kingant.net>
date Thu, 17 Mar 2011 07:39:33 +0000
parents c61d3e5ec1da
children 0d4702446530
line wrap: on
line diff
--- a/libpurple/util.c	Thu Mar 17 01:42:14 2011 +0000
+++ b/libpurple/util.c	Thu Mar 17 07:39:33 2011 +0000
@@ -4941,18 +4941,6 @@
 	return buf;
 }
 
-const char *_purple_oscar_convert(const char *act, const char *protocol)
-{
-	if (act && purple_strequal(protocol, "prpl-oscar")) {
-		int i;
-		for (i = 0; act[i] != '\0'; i++)
-			if (!isdigit(act[i]))
-				return "prpl-aim";
-		return "prpl-icq";
-	}
-	return protocol;
-}
-
 void purple_restore_default_signal_handlers(void)
 {
 #ifndef _WIN32