Removed $server constructor arguments because of ServerAPI::request()

This commit is contained in:
Shoghi Cervantes Pueyo
2013-03-29 19:49:33 +01:00
parent af52b0a5b5
commit 6d39f54591
17 changed files with 35 additions and 34 deletions

View File

@@ -474,7 +474,7 @@ class ServerAPI{
}else{
$internal = true;
}
$this->$name = new $class($this->server);
$this->$name = new $class();
$this->apiList[] = $this->$name;
console("[".($internal === true ? "DEBUG":"INFO")."] API \x1b[36m".$name."\x1b[0m [\x1b[30;1m".$class."\x1b[0m] loaded", true, true, ($internal === true ? 2:1));
}