Przeglądaj źródła

mumble's IP address is hard set with the 'host=' setting in
the ini file. check_ip's result returns an error due to
looking for the ip setting in the server script.

This commit bypasses the issue allowing `details` functionality
to work once again.

cedarlug 9 lat temu
rodzic
commit
215aae3397
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lgsm/functions/check_ip.sh

+ 1 - 1
lgsm/functions/check_ip.sh

@@ -8,7 +8,7 @@
 local commandname="CHECK"
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
-if [ "${gamename}" != "TeamSpeak 3" ]; then
+if [ "${gamename}" != "TeamSpeak 3" ] && [ "${gamename}" != "Mumble" ]; then
 	if [ ! -f "/bin/ip" ]; then
 		ipcommand="/sbin/ip"
 	else