From e934a03abcef785b98d7b505cc27eea9955ec8aa Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 12 Jul 2015 18:43:24 +0100 Subject: [PATCH] Teamspeak 3 may not have a config --- functions/fn_details_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fn_details_config b/functions/fn_details_config index 5144298eb..66a06071b 100644 --- a/functions/fn_details_config +++ b/functions/fn_details_config @@ -5,7 +5,7 @@ # Version: 120715 # Description: Gets specific details from config files. -if [ -e "${servercfgfullpath}" ]||[ "${engine}" == "spark" ]; then +if [ -e "${servercfgfullpath}" ]||[ "${engine}" == "spark" ]||[ "${gamename}" == "Teamspeak 3" ]; then if [ "${engine}" == "avalanche" ]; then servername=$(grep -s Name "${servercfgfullpath}"|sed 's/Name//g'|tr -d '=\"; '|sed 's/,//g')