Browse Source

[Minor] Silence warning

tags/1.5.2
Andrew Lewis 7 years ago
parent
commit
e6289c0732
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      rules/misc.lua

+ 1
- 3
rules/misc.lua View File

@@ -747,9 +747,7 @@ local check_mime_id = rspamd_config:register_callback_symbol('CHECK_MIME', 1.0,
end

if missing_mime then
if not found_ma and ((found_plain or found_html) and cte_7bit) then
-- Skip symbol insertion
else
if not (not found_ma and ((found_plain or found_html) and cte_7bit)) then
task:insert_result('MISSING_MIME_VERSION', 1.0)
end
end

Loading…
Cancel
Save