diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-20 17:37:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-20 17:37:51 +0100 |
commit | 14d86e4ceeefda9387cce2e80466945a6e0265e9 (patch) | |
tree | db5010ca2f5733806394b94e891886c5bc114d73 | |
parent | 16481285bd51352682da09a17f2e304f29c807a7 (diff) | |
download | rspamd-14d86e4ceeefda9387cce2e80466945a6e0265e9.tar.gz rspamd-14d86e4ceeefda9387cce2e80466945a6e0265e9.zip |
[Minor] Fix testing for zero
-rw-r--r-- | src/plugins/lua/multimap.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index a61c17712..620005b81 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -888,7 +888,7 @@ local function multimap_callback(task, rule) end, combined = function() local ret,trace = rule.combined:process(task) - if ret then + if ret and ret ~= 0 then for n,t in pairs(trace) do insert_results(t.value, string.format("%s=%s", n, t.matched)) |