mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 08:34:44 +00:00
Dont allow <> in names
This commit is contained in:
parent
76b7914321
commit
4e6aa6729d
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue