Stripped trailing spaces

This commit is contained in:
Wruczek
2016-07-01 22:34:55 +02:00
parent 28e1ee34fe
commit 358770c7e4
11 changed files with 60 additions and 60 deletions

View File

@ -10,10 +10,10 @@ function pingTeamspeakServerFromConfig() {
function pingTeamspeakServer($uri) {
try {
$tsAdmin = TeamSpeak3::factory($uri);
if(!$tsAdmin->getProperty("virtualserver_status"))
throw new Exception("Server is offline");
return $tsAdmin->getInfo();
} catch(TeamSpeak3_Exception $e) {
return false;