aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2009-11-23 23:23:37 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2009-11-23 23:23:37 +0000
commitcd741d8e2bb0b7d08cf36d90f5332a639f190281 (patch)
tree07e7b369dc080bbc6f59a5e2ac13180704fa1e27 /protocols/nogaim.c
parent4e041946706d3fc3aed405152028b02ec2794902 (diff)
Fixed compatibility with non-libpurple version: oscar is now recognized
as a protocol name, and removed prpl- hack from nogaim.c.
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index c0d4a953..f80653ff 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -110,14 +110,6 @@ struct prpl *find_protocol(const char *name)
if( g_strcasecmp( proto->name, name ) == 0 )
return proto;
-
-#ifdef WITH_PURPLE
- /* I know, hardcoding is evil, but that doesn't make it
- impossible. :-) */
- if( g_strncasecmp( proto->name, "prpl-", 5 ) == 0 &&
- g_strcasecmp( proto->name + 5, name ) == 0 )
- return proto;
-#endif
}
return NULL;