lib/spf/model.rb in spf-0.0.25 vs lib/spf/model.rb in spf-0.0.26

- old
+ new

@@ -492,12 +492,10 @@ return nil unless @ip_network return @ip_network if String === @ip_network params = @ip_network.to_addr params += '/' + @ip_network.pfxlen.to_s if @ip_network.pfxlen != self.default_ipv6_prefix_length - puts "params: #{params}" - puts self.inspect return params end def match(server, request, want_result = true) return @ip_network.contains?(request.ip_address_v6) @@ -541,10 +539,10 @@ return true if SPF::Result::Pass === result return false if SPF::Result::Fail === result or SPF::Result::SoftFail === result or - SPF::Result::Neutral === result or + SPF::Result::Neutral === result server.throw_result('permerror', request, "Include domain '#{authority_domain}' has no applicable sender policy") if SPF::Result::None === result