Servereinstellung wurden von "serveradmin from IP:56451" geändert #796

This commit is contained in:
Julian Uphoff 2016-10-02 16:19:10 +02:00
parent d11c3e9622
commit dfdb5e78c6

View File

@ -170,6 +170,10 @@ class TS3 {
@fputs($this->socket, "login $admin $querypassword" . "\n");
$this->errorcode = $this->ReplaceFromTS3(fgets($this->socket, 8192));
@fputs($this->socket, "clientupdate client_nickname=Easy-WI" . "\n");
$this->errorcode = $this->ReplaceFromTS3(fgets($this->socket, 8192));
if (strpos($this->errorcode,'error id=0') === false) {
$this->connected = false;
} else {
@ -1064,4 +1068,4 @@ class TS3 {
return (is_array($array) and isset($array[0]['version'])) ? $array[0]['version'] : false;
}
}
}