mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Merge pull request #932 from th3cr0wl3r/master
Servereinstellung wurden von "serveradmin from IP:56451" geändert #796
This commit is contained in:
commit
26516b102c
@ -170,6 +170,10 @@ class TS3 {
|
|||||||
@fputs($this->socket, "login $admin $querypassword" . "\n");
|
@fputs($this->socket, "login $admin $querypassword" . "\n");
|
||||||
$this->errorcode = $this->ReplaceFromTS3(fgets($this->socket, 8192));
|
$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) {
|
if (strpos($this->errorcode,'error id=0') === false) {
|
||||||
$this->connected = false;
|
$this->connected = false;
|
||||||
} else {
|
} else {
|
||||||
@ -1064,4 +1068,4 @@ class TS3 {
|
|||||||
|
|
||||||
return (is_array($array) and isset($array[0]['version'])) ? $array[0]['version'] : false;
|
return (is_array($array) and isset($array[0]['version'])) ? $array[0]['version'] : false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user