diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-07 14:18:10 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-07 14:18:10 +0200 |
commit | e6289c07329f426234d15bb25027989ae5666e41 (patch) | |
tree | 96cf4d5e8a1dade2f00eb48c715dc207b649e7ba /rules/misc.lua | |
parent | d31fc47a246adb80ce2f847782d06b5a6660f97b (diff) | |
download | rspamd-e6289c07329f426234d15bb25027989ae5666e41.tar.gz rspamd-e6289c07329f426234d15bb25027989ae5666e41.zip |
[Minor] Silence warning
Diffstat (limited to 'rules/misc.lua')
-rw-r--r-- | rules/misc.lua | 4 |
1 files changed, 1 insertions, 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 |