Browse Source

[Minor] Lua_scanners: Set least action if matched

Issue: #3184
tags/2.3
Vsevolod Stakhov 4 years ago
parent
commit
a345b74e1b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lualib/lua_scanners/common.lua

+ 1
- 1
lualib/lua_scanners/common.lua View File

@@ -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


Loading…
Cancel
Save