diff src/prpl.c @ 10036:0ddc38f8db4a

[gaim-migrate @ 10995] this account deletion patch should have been committed to both trees a while ago committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 18 Sep 2004 21:55:37 +0000
parents 34bce9529cf4
children dcdda2857ca8
line wrap: on
line diff
--- a/src/prpl.c	Sat Sep 18 17:19:29 2004 +0000
+++ b/src/prpl.c	Sat Sep 18 21:55:37 2004 +0000
@@ -385,6 +385,8 @@
 	GList *l;
 	GaimPlugin *plugin;
 
+	g_return_val_if_fail(id != NULL, NULL);
+
 	for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) {
 		plugin = (GaimPlugin *)l->data;