diff --git a/stuff/methods/class_ts3.php b/stuff/methods/class_ts3.php index 36adb03e..df7fbb1e 100644 --- a/stuff/methods/class_ts3.php +++ b/stuff/methods/class_ts3.php @@ -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; } -} \ No newline at end of file +}