Limited RCON threads to one and added a auth timeout

This commit is contained in:
Shoghi Cervantes Pueyo
2013-04-22 23:33:46 +02:00
parent f466e1f791
commit e428b4cfc4
4 changed files with 29 additions and 18 deletions

View File

@ -99,7 +99,7 @@ class BanAPI{
if($this->server->api->handle("console.check", $data) === true or $this->isOp($data["issuer"]->iusername)){
return true;
}
}elseif($data["issuer"] === "console"){
}elseif($data["issuer"] === "console" or $data["issuer"] === "rcon"){
return true;
}
return false;