Fix function referense (ugh missed it)
parent
0f0fe693e4
commit
53959f9b89
|
@ -42,7 +42,7 @@ class defense extends rcube_plugin {
|
|||
private function isIPinArray($ip, $array) {
|
||||
foreach ($array as $value) {
|
||||
if ((strpos($value, '/') === false) && ($ip == $value)) { return true; }
|
||||
if (isIPinCIDR($ip, $value)) { return true; }
|
||||
if (%this->isIPinCIDR($ip, $value)) { return true; }
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue