release 1.3.1
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user