@ -8,6 +8,8 @@ $server = TeamSpeak3::factory('serverquery://'.$user.':'.$passwd.'@'.$host.':'.$
$exceptions = array_unique(array_merge($exceptions, $roots));
while(true) {
// get fresh channel list, because total_clients is cached
$server->channelListReset();
foreach($roots as $root) {
$root = $server->channelGetByName($root);
$subs = $root->subChannelList();