Ver Fonte

Update info_config.sh

Fixes issue #696
Daniel Gibbs há 10 anos atrás
pai
commit
a34adda006
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      functions/info_config.sh

+ 1 - 1
functions/info_config.sh

@@ -574,7 +574,7 @@ elif [ "${gamename}" == "7 Days To Die" ]; then
 
 
 	# telnet password
 	# telnet password
 	if [ -f "${servercfgfullpath}" ]; then
 	if [ -f "${servercfgfullpath}" ]; then
-		telnetpass=$(grep "TelnetEnabled" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"")
+		telnetpass=$(grep "TelnetPassword" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"")
 		if [ ! -n "${telnetpass}" ]; then
 		if [ ! -n "${telnetpass}" ]; then
 			telnetpass="NOT SET"
 			telnetpass="NOT SET"
 		fi
 		fi