lib/spf/model.rb in spf-0.0.47 vs lib/spf/model.rb in spf-0.0.48
- old
+ new
@@ -569,10 +569,10 @@
def nested_record(server=nil, request=nil, loose_match = false)
return @nested_record if @nested_record
return nil unless server and request
authority_domain = self.domain(server, request)
sub_request = request.new_sub_request({:authority_domain => authority_domain})
- return @nested_record = server.selectrecord(sub_request, loose_match)
+ return @nested_record = server.select_record(sub_request, loose_match)
end
end
class SPF::Mech::MX < SPF::Mech