commit 14d86e4: [Minor] Fix testing for zero
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon May 20 17:07:08 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-05-20 17:37:51 +0100
URL: https://github.com/rspamd/rspamd/commit/14d86e4ceeefda9387cce2e80466945a6e0265e9
[Minor] Fix testing for zero
---
src/plugins/lua/multimap.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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))
More information about the Commits
mailing list