From e8736fcb395ca947998be624973b5e4ece6de4fa Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 30 Oct 2015 00:37:19 +0000 Subject: [PATCH] Fixed teeworlds server password --- functions/fn_details_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fn_details_config b/functions/fn_details_config index 3e78bcb70..fc572fe3e 100644 --- a/functions/fn_details_config +++ b/functions/fn_details_config @@ -402,7 +402,7 @@ elif [ "${engine}" == "teeworlds" ]; then # server password if [ -f "${servercfgfullpath}" ]; then - serverpassword=$(grep "password " "${servercfgfullpath}" | sed 's/password //g' | tr -d '=\"; ') + serverpassword=$(grep "password " "${servercfgfullpath}" | awk '!/sv_rcon_password/'| sed 's/password //g' | tr -d '=\"; ') if [ ! -n "${rconpassword}" ]; then serverpassword="NOT SET" fi