mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-26 14:30:56 +00:00
Allow hltv to connect to secure auth servers
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@577 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
8fc75ea474
commit
2a4c5d4f73
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ BOOL AvHGamerules::GetIsClientAuthorizedToPlay(edict_t* inEntity, bool inDisplay
|
|||
}
|
||||
}
|
||||
// Local players or bots are always allowed
|
||||
else if((theAuthID == kSteamIDLocal) || (theAuthID == kSteamIDBot))
|
||||
else if((theAuthID == kSteamIDLocal) || (theAuthID == kSteamIDBot) || strncmp(theAuthID.c_str(), "HLTV", 4) == 0 )
|
||||
{
|
||||
theIsAuthorized = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue