changeset 397:0b5ecac8aa54

[gaim-migrate @ 407] BAH committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 12 Jun 2000 13:56:58 +0000
parents b1d5c6ab7b0d
children 59d97cd251ff
files src/plugins.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins.c	Mon Jun 12 13:45:22 2000 +0000
+++ b/src/plugins.c	Mon Jun 12 13:56:58 2000 +0000
@@ -178,7 +178,7 @@
 	retval = (*gaim_plugin_init)(plug->handle);
 	sprintf(debug_buff, "loaded plugin returned %d\n", retval);
 	debug_print(debug_buff);
-	if (retval != 1) {
+	if (retval < 0) {
 		GList *c = callbacks;
 		struct gaim_callback *g;
 		while (c) {