Dont allow <> in names

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

View file

@ -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 )
{