Explorar o código

If multiple IP addresses display as not set in details

Daniel Gibbs %!s(int64=7) %!d(string=hai) anos
pai
achega
973dabf1e1
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      lgsm/functions/info_messages.sh

+ 5 - 1
lgsm/functions/info_messages.sh

@@ -139,7 +139,11 @@ fn_info_message_gameserver(){
 		fi
 
 		# Server ip
-		echo -e "${blue}Server IP:\t${default}${ip}:${port}"
+		if [ ${multiple_ip} == 1 ]; then
+		    echo -e "${blue}Server IP:\t${default}NOT SET"
+		else
+		    echo -e "${blue}Server IP:\t${default}${ip}:${port}"
+		fi
 
 		# External server ip
 		if [ -n "${extip}" ]; then