summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-15 12:45:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-15 12:45:38 +0100
commit1d2cb297a1cd882e6b0ea75ca5c081f844742c18 (patch)
treef88f2d3ff9b0c2f7861fd4c80a1e38d3d15e12b3 /rules
parent90dca8a51be79ea3b8704afafb2cd75b2d65e31f (diff)
downloadrspamd-1d2cb297a1cd882e6b0ea75ca5c081f844742c18.tar.gz
rspamd-1d2cb297a1cd882e6b0ea75ca5c081f844742c18.zip
[Minor] Pet luacheck
Diffstat (limited to 'rules')
-rw-r--r--rules/misc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/misc.lua b/rules/misc.lua
index c70e90bbc..080d03584 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -658,7 +658,7 @@ local check_encrypted_name = rspamd_config:register_symbol{
elseif cld:is_text() then
seen_text = true
else
- local type,subtype,attrs = cld:get_type_full()
+ local type,subtype,_ = cld:get_type_full()
if type:lower() == 'application' then
if string.find(subtype:lower(), 'pkcs7%-mime') then