Skip to content
Browse files

No voodoo

  • Loading branch information...
1 parent 18aae85 commit 0060aaee4b733d2e8d94f33f11cab3c663090468 @itspriddle itspriddle committed Jun 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hamburglar/report.rb
View
2 lib/hamburglar/report.rb
@@ -31,7 +31,7 @@ def fraud?
if Hamburglar.config.fraud_proc.nil?
@fraud = @response[:score].to_f >= Hamburglar.config.fraud_score.to_f
else
- @fraud = !! Hamburglar.config.fraud_proc.call(self)
+ @fraud = Hamburglar.config.fraud_proc.call(self) == true
end
end

0 comments on commit 0060aae

Please sign in to comment.
Something went wrong with that request. Please try again.