fixed amb1801, IsFakeClient() wasn't working for TF2 causing false results and crashes
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402341
This commit is contained in:
parent
bc4f24e94d
commit
bf0354dbb9
@ -1335,7 +1335,7 @@ IPlayerInfo *CPlayer::GetPlayerInfo()
|
||||
|
||||
bool CPlayer::IsFakeClient()
|
||||
{
|
||||
return (strcmp(m_AuthID.c_str(), "BOT") == 0);
|
||||
return (strncasecmp(m_AuthID.c_str(), "BOT", 3) == 0);
|
||||
}
|
||||
|
||||
void CPlayer::SetAdminId(AdminId id, bool temporary)
|
||||
|
Loading…
Reference in New Issue
Block a user