Changed the api.op.check event check

This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-09 22:38:53 +01:00
parent a9f7d47c25
commit ab1c28fc57
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ class BanAPI{
}
public function isOp($username){
if($this->server->api->dhandle("api.op.check", $username) === false){
if($this->server->api->dhandle("api.op.check", $username) === true){
return true;
}elseif($this->ops->exists($username)){
return true;