Skip to content

Commit

Permalink
Should fix residual notice with issue #16
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveD committed Dec 13, 2012
1 parent 41229c4 commit 04bfaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/iphandler_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ private function checkIP($addr)
{ // Match found
if (($val['time_limit'] == 0) || ($val['time_limit'] > $now))
{ // Indefinite ban, or timed ban (not expired) or whitelist entry
if ($val['action']== BAN_TYPE_LEGACY) return BAN_TYPE_MANUAL; // Precautionary
if ($val['action']== eIPHandler::BAN_TYPE_LEGACY) return eIPHandler::BAN_TYPE_MANUAL; // Precautionary
$this->matchAddress = $val['ip'];
return $val['action']; // OK to just return - PHP should release the memory used by $checkLists
}
Expand Down

0 comments on commit 04bfaa1

Please sign in to comment.