From fb918470e4996f1ec0e5a5a0e5fbf9396dc90f7b Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 31 Oct 2016 22:13:56 +0000 Subject: [PATCH] removed return --- lgsm/functions/info_config.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index 7982ebd69..63ec0a85d 100644 --- a/lgsm/functions/info_config.sh +++ b/lgsm/functions/info_config.sh @@ -103,7 +103,6 @@ fn_info_config_minecraft(){ gamemode="${unavailable}" gameworld="${unavailable}" else - servername=$(grep "motd" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/motd//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//') rconpassword=$(grep "rcon.password" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/rcon.password//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//') rconport=$(grep "rcon.port" "${servercfgfullpath}" | grep -v "#" | tr -cd '[:digit:]')