diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-07 09:52:19 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-07 09:52:19 +0000 |
commit | 27c0e172a5ffb1552cc6db72a0dfcc0932718347 (patch) | |
tree | d9fd0ed0011029c169b3527a76931ca13c379973 /lualib/lua_maps_expressions.lua | |
parent | d3f27d27420984b876bb36bbcc966613af3c8701 (diff) | |
download | rspamd-27c0e172a5ffb1552cc6db72a0dfcc0932718347.tar.gz rspamd-27c0e172a5ffb1552cc6db72a0dfcc0932718347.zip |
[Fix] Fix maps expressions evaluation
Issue: #3256
Submitted by: @rm-minus-rf
Diffstat (limited to 'lualib/lua_maps_expressions.lua')
-rw-r--r-- | lualib/lua_maps_expressions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |