From 14d86e4ceeefda9387cce2e80466945a6e0265e9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 May 2019 17:37:51 +0100 Subject: [PATCH] [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)) -- 2.39.5