mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +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){
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue