aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/dynamic_conf.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/plugins/lua/dynamic_conf.lua
parentd34b7a2f737214e517f1c7945d009bc8282a9d70 (diff)
downloadrspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.tar.gz
rspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.zip
[Fix] Detect confighelp in plugins initialisation
Diffstat (limited to 'src/plugins/lua/dynamic_conf.lua')
-rw-r--r--src/plugins/lua/dynamic_conf.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lua/dynamic_conf.lua b/src/plugins/lua/dynamic_conf.lua
index b109c714f..9c017d6c9 100644
--- a/src/plugins/lua/dynamic_conf.lua
+++ b/src/plugins/lua/dynamic_conf.lua
@@ -19,6 +19,10 @@ local redis_params
local ucl = require "ucl"
local fun = require "fun"
+if confighelp then
+ return
+end
+
local settings = {
redis_key = "dynamic_conf",
redis_watch_interval = 10.0,