Fixed warn.
[PerlMail.git] / perlmail-accept
index 5abd067..3432acb 100755 (executable)
@@ -566,7 +566,9 @@ my($domain,$full,$timeout)=@_;
                my $code=Mail::Audit::rblcheck($self_faked,$timeout);
                next if !$code;
                # Some 0.0.0.0 etc. found for <linux-kernel@>, see: &Mail::Audit::MAPS::_checkit
                my $code=Mail::Audit::rblcheck($self_faked,$timeout);
                next if !$code;
                # Some 0.0.0.0 etc. found for <linux-kernel@>, see: &Mail::Audit::MAPS::_checkit
-               return $code if $code!='1 Invalid IP address ';
+               # Do not: $code!='1 Invalid IP address '
+               # as it causes warn.
+               return $code if $code ne '1 Invalid IP address ';
                return if !$full;
                }
 }
                return if !$full;
                }
 }