aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-10 10:56:23 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-10 10:56:23 +0000
commita345b74e1b32981f0a5bc1db7518c9ecc6c7b386 (patch)
tree6b1d1a78dcfc517d1eb04b4fa50e8cfa1a1619f9 /lualib/lua_scanners
parentd538b9d97f80d7ad86d982deca44172a7b7f8c94 (diff)
downloadrspamd-a345b74e1b32981f0a5bc1db7518c9ecc6c7b386.tar.gz
rspamd-a345b74e1b32981f0a5bc1db7518c9ecc6c7b386.zip
[Minor] Lua_scanners: Set least action if matched
Issue: #3184
Diffstat (limited to 'lualib/lua_scanners')
-rw-r--r--lualib/lua_scanners/common.lua2
1 files changed, 1 insertions, 1 deletions
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