瀏覽代碼

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 10 年之前
父節點
當前提交
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 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