changeset 2280:13d5d7e829c9

[gaim-migrate @ 2290] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 13 Sep 2001 22:57:53 +0000
parents 63102b44541a
children cc462108c101
files src/plugins.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins.c	Thu Sep 13 22:25:25 2001 +0000
+++ b/src/plugins.c	Thu Sep 13 22:57:53 2001 +0000
@@ -515,6 +515,8 @@
 	load_plugin(file);
 
 	/* Try and reselect the plugin in list */
+	if (!pluglist)
+		return;
 	plugs = plugins;
 	while (plugs) {
 		plug = plugs->data;