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:
Borja Ferrer 2008-07-04 19:04:33 +00:00
parent bc4f24e94d
commit bf0354dbb9

View File

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