From 4e6aa6729d702dd6a0a28cae43daec6abc8f9f8a Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Sun, 20 Sep 2020 13:40:07 -0400 Subject: [PATCH] Dont allow <> in names --- Classic/scripts/server.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classic/scripts/server.cs b/Classic/scripts/server.cs index 5d5e95c..d204627 100644 --- a/Classic/scripts/server.cs +++ b/Classic/scripts/server.cs @@ -670,6 +670,9 @@ function GameConnection::onConnect( %client, %name, %raceGender, %skin, %voice, %realName = getField( %authInfo, 0 ); if ( $PlayingOnline && $Host::NoSmurfs ) %name = %realName; + + //Remove <> to not mess up tribesnext json + %name = stripChars( detag( %name ), "<>" ); if ( strcmp( %name, %realName ) == 0 ) {