Improved method of connection to Teamspeak server.
This commit is contained in:
Wruczek
2017-02-01 16:31:32 +01:00
parent 1ffaee0730
commit c33e17c66e
4 changed files with 24 additions and 17 deletions

View File

@ -54,7 +54,7 @@ function getBanlist() {
global $lang;
try {
$tsAdmin = TeamSpeak3::factory(getTeamspeakURI() . "#no_query_clients");
$tsAdmin = getTeamspeakConnection("#no_query_clients");
$bans = $tsAdmin->banList();