mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
OpCheck Typo fixes #121
This commit is contained in:
parent
365b7bec7d
commit
a85c865099
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ class BanAPI{
|
||||||
public function isOp($username){
|
public function isOp($username){
|
||||||
if($this->server->api->dhandle("api.op.check", $username) === false){
|
if($this->server->api->dhandle("api.op.check", $username) === false){
|
||||||
return true;
|
return true;
|
||||||
}elseif($this->op->exists($username)){
|
}elseif($this->ops->exists($username)){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -282,4 +282,4 @@ class BanAPI{
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue