Просмотр исходного кода

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 лет назад
Родитель
Сommit
215aae3397
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/check_ip.sh

+ 1 - 1
lgsm/functions/check_ip.sh

@@ -8,7 +8,7 @@
 local commandname="CHECK"
 local commandname="CHECK"
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 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
 	if [ ! -f "/bin/ip" ]; then
 		ipcommand="/sbin/ip"
 		ipcommand="/sbin/ip"
 	else
 	else