From 8e7cd8e5f333c488c30b01ebbb5bfb86a906f18a Mon Sep 17 00:00:00 2001 From: Juan Pablo Arce Date: Sun, 9 Sep 2018 01:02:54 -0300 Subject: [PATCH] Added space and exclamation point to default AllowedClientNameChars --- .../BarotraumaShared/Source/Networking/GameServerSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/Source/Networking/GameServerSettings.cs b/Barotrauma/BarotraumaShared/Source/Networking/GameServerSettings.cs index f670bdb78..4a18ed99c 100644 --- a/Barotrauma/BarotraumaShared/Source/Networking/GameServerSettings.cs +++ b/Barotrauma/BarotraumaShared/Source/Networking/GameServerSettings.cs @@ -380,7 +380,7 @@ namespace Barotrauma.Networking GameMain.NetLobbyScreen.SetTraitorsEnabled(traitorsEnabled); //"65-90", "97-122", "48-59" = upper and lower case english alphabet and numbers - string[] allowedClientNameCharsStr = doc.Root.GetAttributeStringArray("AllowedClientNameChars", new string[] { "65-90", "97-122", "48-59" }); + string[] allowedClientNameCharsStr = doc.Root.GetAttributeStringArray("AllowedClientNameChars", new string[] { "32-33", "65-90", "97-122", "48-59" }); foreach (string allowedClientNameCharRange in allowedClientNameCharsStr) { string[] splitRange = allowedClientNameCharRange.Split('-');