From: Vsevolod Stakhov Date: Tue, 10 Dec 2019 10:56:23 +0000 (+0000) Subject: [Minor] Lua_scanners: Set least action if matched X-Git-Tag: 2.3~227 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a345b74e1b32981f0a5bc1db7518c9ecc6c7b386;p=rspamd.git [Minor] Lua_scanners: Set least action if matched Issue: #3184 --- diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua index 80032676b..f286d963a 100644 --- a/lualib/lua_scanners/common.lua +++ b/lualib/lua_scanners/common.lua @@ -116,7 +116,7 @@ local function yield_result(task, rule, vname, dyn_weight, is_fail) lua_util.template(rule.message or 'Rejected', { SCANNER = rule.name, VIRUS = threat_table, - }), rule.name) + }), rule.name, nil, nil, 'least') end end