From: Vsevolod Stakhov Date: Tue, 13 Oct 2015 15:05:36 +0000 (+0100) Subject: Fix comparision in hfilter X-Git-Tag: 1.0.5~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=872cde58b0e1b37b0434c69f94434344f3981e34;p=rspamd.git Fix comparision in hfilter --- diff --git a/src/plugins/lua/hfilter.lua b/src/plugins/lua/hfilter.lua index 7a520e511..fa4cd11cd 100644 --- a/src/plugins/lua/hfilter.lua +++ b/src/plugins/lua/hfilter.lua @@ -213,7 +213,7 @@ local function check_host(task, host, symbol_suffix, eq_ip, eq_host) end end - if not failed_address >= 2 then + if failed_address >= 2 then -- No A or AAAA records task:get_resolver():resolve_mx({ task = task,