From: Vsevolod Stakhov Date: Fri, 7 Feb 2020 09:52:19 +0000 (+0000) Subject: [Fix] Fix maps expressions evaluation X-Git-Tag: 2.4~92 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=27c0e172a5ffb1552cc6db72a0dfcc0932718347;p=rspamd.git [Fix] Fix maps expressions evaluation Issue: #3256 Submitted by: @rm-minus-rf --- diff --git a/lualib/lua_maps_expressions.lua b/lualib/lua_maps_expressions.lua index bf3215d39..9535f809d 100644 --- a/lualib/lua_maps_expressions.lua +++ b/lualib/lua_maps_expressions.lua @@ -78,7 +78,7 @@ local function process_func(elt, task) local res = elt.expr:process(process_atom) - if res then + if res > 0 then return res,matched end