Filter out Unicode and non-printable ASCII
+ return when authentication fails because of null client
This commit is contained in:
@@ -75,6 +75,7 @@ namespace Barotrauma.Networking
|
||||
else
|
||||
{
|
||||
inc.SenderConnection.Disconnect("Authentication failed");
|
||||
return;
|
||||
}
|
||||
|
||||
DebugConsole.NewMessage("New player has joined the server", Color.White);
|
||||
|
||||
Reference in New Issue
Block a user