From 7c6d37e2d31a49e1c180b063f245536e0d507a9d Mon Sep 17 00:00:00 2001 From: WatskeBart Date: Thu, 28 Feb 2019 16:07:34 +0100 Subject: [PATCH] Update _default.cfg -hostname="${servername}" should be -hostname='${servername}' When applying the wrong quotes, spaces are not detected and the server name will be cut off after the first space and showing incorrectly in the server browser. --- lgsm/config-default/config-lgsm/inssserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/inssserver/_default.cfg b/lgsm/config-default/config-lgsm/inssserver/_default.cfg index 06886ed21..1ba1df679 100644 --- a/lgsm/config-default/config-lgsm/inssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/inssserver/_default.cfg @@ -23,7 +23,7 @@ maxplayers="28" fn_parms(){ # Allows serverpassword to work with parameters if [ "${serverpassword}" != "NOT SET" ]; then - parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password="${serverpassword}" -hostname="${servername}" -log" + parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password="${serverpassword}" -hostname='${servername}' -log" else parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport} -hostname='${servername}' -log" fi