From a345b74e1b32981f0a5bc1db7518c9ecc6c7b386 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 10 Dec 2019 10:56:23 +0000 Subject: [PATCH] [Minor] Lua_scanners: Set least action if matched Issue: #3184 --- lualib/lua_scanners/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5