diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-10 14:50:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-10 14:50:01 +0100 |
commit | 40dd08f9b158bd715b4ca59af2577b23990240b0 (patch) | |
tree | 0dababf84bb73c35522412d350d09106fcb582e9 /lualib/lua_scanners | |
parent | 704571a373230813fe1a619a8b4be75927b59b70 (diff) | |
download | rspamd-40dd08f9b158bd715b4ca59af2577b23990240b0.tar.gz rspamd-40dd08f9b158bd715b4ca59af2577b23990240b0.zip |
[Minor] Lua_scanners: Fix some misprints
Diffstat (limited to 'lualib/lua_scanners')
-rw-r--r-- | lualib/lua_scanners/clamav.lua | 1 | ||||
-rw-r--r-- | lualib/lua_scanners/razor.lua | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lualib/lua_scanners/clamav.lua b/lualib/lua_scanners/clamav.lua index 2862ce025..352d4dcbf 100644 --- a/lualib/lua_scanners/clamav.lua +++ b/lualib/lua_scanners/clamav.lua @@ -143,7 +143,6 @@ local function clamav_check(task, content, digest, rule) elseif string.find(vname, '^Heuristics%.OLE2%.ContainsMacros') then rspamd_logger.errx(task, '%s: ClamAV Found an OLE2 Office Macro', rule.log_prefix) common.yield_result(task, rule, vname, 0.0, 'macro') - elseif vname then elseif string.find(vname, '^Heuristics%.Limits%.Exceeded') then rspamd_logger.errx(task, '%s: ClamAV Limits Exceeded', rule.log_prefix) common.yield_result(task, rule, 'Limits Exceeded: '.. vname, 0.0, 'fail') diff --git a/lualib/lua_scanners/razor.lua b/lualib/lua_scanners/razor.lua index 6f03e2c88..c579b6443 100644 --- a/lualib/lua_scanners/razor.lua +++ b/lualib/lua_scanners/razor.lua @@ -25,7 +25,6 @@ local tcp = require "rspamd_tcp" local upstream_list = require "rspamd_upstream_list" local rspamd_logger = require "rspamd_logger" local common = require "lua_scanners/common" -local fun = require "fun" local N = 'razor' |