From: Vsevolod Stakhov Date: Tue, 15 May 2018 11:45:38 +0000 (+0100) Subject: [Minor] Pet luacheck X-Git-Tag: 1.7.5~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d2cb297a1cd882e6b0ea75ca5c081f844742c18;p=thirdparty%2Frspamd.git [Minor] Pet luacheck --- diff --git a/rules/misc.lua b/rules/misc.lua index c70e90bbc0..080d035846 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