Syntax error

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-09 17:09:21 +02:00
parent 2c81518c5d
commit 533b175b66

View File

@ -316,7 +316,7 @@ class BanAPI{
$username = strtolower($username);
if($this->isOp($username)){
return true;
if($this->server->api->dhandle("api.ban.whitelist.check", $ip) === false){
}elseif($this->server->api->dhandle("api.ban.whitelist.check", $ip) === false){
return true;
}elseif($this->whitelist->exists($username)){
return true;