diff --git a/include/adminlist.php b/include/adminlist.php index f346ad2..dd4565a 100644 --- a/include/adminlist.php +++ b/include/adminlist.php @@ -29,7 +29,7 @@ function getAdminList() { $localIcons = array(100, 200, 300, 400, 500, 600); try { - $tsAdmin = TeamSpeak3::factory(getTeamspeakURI() . "#no_query_clients"); + $tsAdmin = TeamSpeak3::factory(getTeamspeakURI()); $output = ""; @@ -69,6 +69,8 @@ function getAdminList() { foreach ($clients as $userInfo) { $user = getClientByDbid($tsAdmin, $userInfo['cldbid']); + if($user["client_type"]) continue; + if (!$user) { $offlineClients[] = '
' . $userInfo['client_nickname'] . '' . translate($lang["adminlist"]["status"]["offline"]) . '
'; continue;