diff options
Diffstat (limited to 'src/plugins/lua/bayes_expiry.lua')
-rw-r--r-- | src/plugins/lua/bayes_expiry.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/lua/bayes_expiry.lua b/src/plugins/lua/bayes_expiry.lua index 674727e42..d922f3f55 100644 --- a/src/plugins/lua/bayes_expiry.lua +++ b/src/plugins/lua/bayes_expiry.lua @@ -91,7 +91,10 @@ local function configure_bayes_expiry() return true end -if not configure_bayes_expiry() then return end +if not configure_bayes_expiry() then + lutil.disable_module(N, 'config') + return +end local function get_redis_params(ev_base, symbol) local redis_params |