]> source.dussan.org Git - rspamd.git/commitdiff
Fix comparision in hfilter
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Oct 2015 15:05:36 +0000 (16:05 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Oct 2015 15:05:36 +0000 (16:05 +0100)
src/plugins/lua/hfilter.lua

index 7a520e5110f6d18944f3935abf0d78f07be43c53..fa4cd11cd3c99b318b6615babae732b9758ba6ea 100644 (file)
@@ -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,