Sfoglia il codice sorgente

fix(inssserver): correct hostname parameter

Daniel Gibbs 7 anni fa
parent
commit
8ebcc1b819
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lgsm/config-default/config-lgsm/inssserver/_default.cfg

+ 1 - 1
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