mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +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);
|
$username = strtolower($username);
|
||||||
if($this->isOp($username)){
|
if($this->isOp($username)){
|
||||||
return true;
|
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;
|
return true;
|
||||||
}elseif($this->whitelist->exists($username)){
|
}elseif($this->whitelist->exists($username)){
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue