From e6289c07329f426234d15bb25027989ae5666e41 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 7 Mar 2017 14:18:10 +0200 Subject: [PATCH] [Minor] Silence warning --- rules/misc.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rules/misc.lua b/rules/misc.lua index 151500d88..5abc2e821 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -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 -- 2.39.5