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