release 1.3.1

This commit is contained in:
Newcomer1989
2019-06-30 18:20:51 +02:00
parent a4327efd80
commit e56cace8c5
56 changed files with 2737 additions and 1398 deletions

View File

@@ -169,7 +169,7 @@ class TeamSpeak3_Adapter_ServerQuery extends TeamSpeak3_Adapter_Abstract
$microbegin = microtime(true);
$token = "\n";
if($this->getTransport()->getConfig("blocking"))
if($this->getTransport()->getConfig("blocking"))
{
throw new TeamSpeak3_Adapter_Exception("only available in non-blocking mode");
}

View File

@@ -546,7 +546,7 @@ class TeamSpeak3_Node_Channel extends TeamSpeak3_Node_Abstract
*/
public function getIcon()
{
if($this["channel_maxclients"] != -1 && $this["channel_maxclients"] <= $this["total_clients"])
if(!$this["channel_maxclients"] || ($this["channel_maxclients"] != -1 && $this["channel_maxclients"] <= $this["total_clients"]))
{
return "channel_full";
}