summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
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