Fixed Container::check() blacklist

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-23 18:21:37 +02:00
parent 13aa73d26e
commit fea6e9c432
3 changed files with 4 additions and 6 deletions

View file

@ -31,7 +31,7 @@ Source: https://developer.valvesoftware.com/wiki/Source_RCON_Protocol
*/
class RCON{
private $socket, $password, $workers, $threads;
private $socket, $password, $workers, $threads, $clientsPerThread;
public function __construct($password, $port = 19132, $interface = "0.0.0.0", $threads = 1, $clientsPerThread = 50){
$this->workers = array();
@ -90,7 +90,6 @@ class RCONInstance extends Thread{
public $response;
private $socket;
private $password;
private $status;
private $maxClients;
public function __construct($socket, $password, $maxClients = 50){
@ -105,7 +104,6 @@ class RCONInstance extends Thread{
$this->{"status".$n} = 0;
$this->{"timeout".$n} = 0;
}
$this->status = array();
$this->start();
}