changeset 5268:503cc9b0a8ef

[gaim-migrate @ 5640] Plugins with errors should no longer be able to load. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 01 May 2003 08:34:52 +0000
parents 3cd24f012091
children cd7e4ba049f9
files src/plugin.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.c	Thu May 01 07:46:09 2003 +0000
+++ b/src/plugin.c	Thu May 01 08:34:52 2003 +0000
@@ -244,6 +244,7 @@
 {
 #ifdef GAIM_PLUGINS
 	g_return_val_if_fail(plugin != NULL, FALSE);
+	g_return_val_if_fail(plugin->error != NULL, FALSE);
 
 	if (gaim_plugin_is_loaded(plugin))
 		return TRUE;