From a85c8650991072081b58a511598a433e56522e20 Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Wed, 6 Mar 2013 19:06:24 +1030 Subject: [PATCH] OpCheck Typo fixes #121 --- src/API/BanAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index 1f58c17dd..1c911625d 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 +}