diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index 1f58c17d..1c911625 100644 --- a/src/API/BanAPI.php +++ b/src/API/BanAPI.php @@ -57,7 +57,7 @@ class BanAPI{ public function isOp($username){ if($this->server->api->dhandle("api.op.check", $username) === false){ return true; - }elseif($this->op->exists($username)){ + }elseif($this->ops->exists($username)){ return true; } return false; @@ -282,4 +282,4 @@ class BanAPI{ } return false; } -} \ No newline at end of file +}