commit a345b74: [Minor] Lua_scanners: Set least action if matched
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Dec 10 11:00:07 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-10 10:56:23 +0000
URL: https://github.com/rspamd/rspamd/commit/a345b74e1b32981f0a5bc1db7518c9ecc6c7b386 (HEAD -> master)
[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
More information about the Commits
mailing list