mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Syntax error
This commit is contained in:
parent
2c81518c5d
commit
533b175b66
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ class BanAPI{
|
|||
$username = strtolower($username);
|
||||
if($this->isOp($username)){
|
||||
return true;
|
||||
if($this->server->api->dhandle("api.ban.whitelist.check", $ip) === false){
|
||||
}elseif($this->server->api->dhandle("api.ban.whitelist.check", $ip) === false){
|
||||
return true;
|
||||
}elseif($this->whitelist->exists($username)){
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue