Skip to content

Commit d184e39

Browse files
committed
Addendum to 614638d: Reject backtick in IsNickValid to match server-side CheckNickProvided
1 parent 2bcb2ed commit d184e39

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Client/mods/deathmatch/logic/CClientGame.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,10 @@ bool CClientGame::IsNickValid(const char* szNick)
16141614
{
16151615
return false;
16161616
}
1617+
if (ucTemp == '`') // Match server-side CheckNickProvided backtick rejection
1618+
{
1619+
return false;
1620+
}
16171621
}
16181622

16191623
// Nickname is valid, return true

0 commit comments

Comments
 (0)