Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Updated to return false instead of "Invalid Response"

Invalid responses and "non-threatening" IP address results come back as the same thing. I couldn't find a way to get it to return something more alerting when the DNS lookup failed, so this will have to do. If you're caching your results for a short period of time, then any issues with the API should correct themselves within the TTL of your data
  • Loading branch information...
1 parent 1d4dacd commit 4069d2ddb9fbf7fb1ee1d37f8b01a7113ed06fbb Josh Sherman committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  ProjectHoneyPot.php
2  ProjectHoneyPot.php
@@ -85,7 +85,7 @@ public function query($ip_address)
- return array('error' => 'Invalid Response');
+ return false;

0 comments on commit 4069d2d

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