aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 23:17:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 23:17:13 +0100
commita1dc1fd0591d0880c1537c4032d404cc748537f6 (patch)
tree497e69592a60d07aaf1c8d6474ad61701261b373 /src/lua
parentd34b7a2f737214e517f1c7945d009bc8282a9d70 (diff)
downloadrspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.tar.gz
rspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.zip
[Fix] Detect confighelp in plugins initialisation
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index 4f494971b..634f7c569 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -390,7 +390,9 @@ rspamd_init_lua_filters (struct rspamd_config *cfg, gboolean force_load)
continue;
}
- msg_info_config ("init lua module %s", module->name);
+ if (!force_load) {
+ msg_info_config ("init lua module %s", module->name);
+ }
lua_pop (L, 1); /* Error function */
}