Typo % = $

develop
Steve Allison 2013-02-20 21:13:00 +00:00
parent 53959f9b89
commit 2e7c4825ff
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class defense extends rcube_plugin {
private function isIPinArray($ip, $array) { private function isIPinArray($ip, $array) {
foreach ($array as $value) { foreach ($array as $value) {
if ((strpos($value, '/') === false) && ($ip == $value)) { return true; } if ((strpos($value, '/') === false) && ($ip == $value)) { return true; }
if (%this->isIPinCIDR($ip, $value)) { return true; } if ($this->isIPinCIDR($ip, $value)) { return true; }
} }
return false; return false;
} }