Display plugins with zmu even if plugin loading is not enabled

This commit is contained in:
Emmanuel Papin 2015-01-04 14:44:43 +01:00
parent 491df7671d
commit 72d1581f44
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ Monitor::Monitor(
}
#if ZM_PLUGINS_ON
if ( config.load_plugins && ( ( purpose == ANALYSIS ) || ( purpose == QUERY_PLUGINS ) ) )
if ( ( purpose == QUERY_PLUGINS ) || ( config.load_plugins && ( purpose == ANALYSIS ) ) )
{
Info("Load plugins from the directory %s ... ", config.path_plugins);
ThePluginManager.setPluginExt(std::string(config.plugin_extension));