changeset 11948:fd456a3275a8

[gaim-migrate @ 14239] This isn't necessary committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 02 Nov 2005 04:20:46 +0000
parents fc8396a3fd5e
children 47e1723a89d7
files src/prpl.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/prpl.c	Wed Nov 02 03:57:49 2005 +0000
+++ b/src/prpl.c	Wed Nov 02 04:20:46 2005 +0000
@@ -374,11 +374,8 @@
 	for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) {
 		plugin = (GaimPlugin *)l->data;
 
-		/* Just In Case (TM) */
-		if (GAIM_IS_PROTOCOL_PLUGIN(plugin)) {
-			if (!strcmp(plugin->info->id, id))
-				return plugin;
-		}
+		if (!strcmp(plugin->info->id, id))
+			return plugin;
 	}
 
 	return NULL;