From 215aae3397d6f07bce7b26a1932419c169d127ae Mon Sep 17 00:00:00 2001
From: cedarlug <cedarlug@fistfuloffrags.org>
Date: Tue, 23 Aug 2016 06:36:34 -0500
Subject: [PATCH] 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.
---
 lgsm/functions/check_ip.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lgsm/functions/check_ip.sh b/lgsm/functions/check_ip.sh
index 8c1c264c2..0ba8bcbf3 100644
--- a/lgsm/functions/check_ip.sh
+++ b/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