Allocate wslua_plugin_list even if we do not HAVE_PLUGINS

svn path=/trunk/; revision=37109
This commit is contained in:
Jeff Morriss 2011-05-13 00:34:31 +00:00
parent e7f42e46b2
commit 9c9c23fae4
1 changed files with 3 additions and 3 deletions

View File

@ -28,6 +28,9 @@
#include "plugins.h"
/* linked list of Lua plugins */
wslua_plugin *wslua_plugin_list = NULL;
#ifdef HAVE_PLUGINS
#include <time.h>
@ -57,9 +60,6 @@
/* linked list of all plugins */
plugin *plugin_list = NULL;
/* linked list of Lua plugins */
wslua_plugin *wslua_plugin_list = NULL;
/*
* add a new plugin to the list
* returns :