Explorar o código

Teamspeak 3 may not have a config

Daniel Gibbs %!s(int64=11) %!d(string=hai) anos
pai
achega
e934a03abc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/fn_details_config

+ 1 - 1
functions/fn_details_config

@@ -5,7 +5,7 @@
 # Version: 120715
 # Version: 120715
 
 
 # Description: Gets specific details from config files.
 # 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
 	if [ "${engine}" == "avalanche" ]; then
 		 servername=$(grep -s Name "${servercfgfullpath}"|sed 's/Name//g'|tr -d '=\"; '|sed 's/,//g')
 		 servername=$(grep -s Name "${servercfgfullpath}"|sed 's/Name//g'|tr -d '=\"; '|sed 's/,//g')