Dont allow <> in names

This commit is contained in:
ChocoTaco1 2020-09-20 13:40:07 -04:00
parent 76b7914321
commit 4e6aa6729d

View file

@ -671,6 +671,9 @@ function GameConnection::onConnect( %client, %name, %raceGender, %skin, %voice,
if ( $PlayingOnline && $Host::NoSmurfs ) if ( $PlayingOnline && $Host::NoSmurfs )
%name = %realName; %name = %realName;
//Remove <> to not mess up tribesnext json
%name = stripChars( detag( %name ), "<>" );
if ( strcmp( %name, %realName ) == 0 ) if ( strcmp( %name, %realName ) == 0 )
{ {
%client.isSmurf = false; %client.isSmurf = false;