diff options
-rw-r--r-- | src/plugins/lua/bayes_expiry.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/bayes_expiry.lua b/src/plugins/lua/bayes_expiry.lua index e0bec119f..de26e92e1 100644 --- a/src/plugins/lua/bayes_expiry.lua +++ b/src/plugins/lua/bayes_expiry.lua @@ -72,7 +72,7 @@ local function check_redis_classifier(cls, cfg) end end - if not symbol_spam or not symbol_ham or not type(expiry) == 'number' then + if not symbol_spam or not symbol_ham or type(expiry) ~= 'number' then return end -- Now try to load redis_params if needed |