diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-13 16:05:13 +0100 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-13 16:05:13 +0100 |
commit | d68a5f42a33d8830d268c2cc581469fa0381fa6c (patch) | |
tree | 9a9727168693a48583fba1bcbf4d8a0af3ba25fb /lualib/lua_scanners/sophos.lua | |
parent | 92ec1c97019c4a5547c115a90e00b257399a8a47 (diff) | |
download | rspamd-d68a5f42a33d8830d268c2cc581469fa0381fa6c.tar.gz rspamd-d68a5f42a33d8830d268c2cc581469fa0381fa6c.zip |
[Fix] lua_scanners - fix luacheck
Diffstat (limited to 'lualib/lua_scanners/sophos.lua')
-rw-r--r-- | lualib/lua_scanners/sophos.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_scanners/sophos.lua b/lualib/lua_scanners/sophos.lua index 0f874e756..d0297fa97 100644 --- a/lualib/lua_scanners/sophos.lua +++ b/lualib/lua_scanners/sophos.lua @@ -129,9 +129,9 @@ local function sophos_check(task, content, digest, rule) else if string.find(data, 'DONE OK') then if rule['log_clean'] then - rspamd_logger.infox(task, '%s [%s]: message or mime_part is clean', rule['symbol'], rule['type']) + rspamd_logger.infox(task, '%s: message or mime_part is clean', rule.log_prefix) else - lua_util.debugm(rule.module_name, task, '%s [%s]: message or mime_part is clean', rule['symbol'], rule['type']) + lua_util.debugm(rule.module_name, task, '%s: message or mime_part is clean', rule.log_prefix) end common.save_av_cache(task, digest, rule, 'OK') -- not finished - continue |