remove the steamid verification kick thing in OnClientPutInServer (#1047)

This commit is contained in:
BoomShot 2022-08-15 10:36:21 +00:00 committed by rtldg
parent bdea503697
commit b78ae36a0e
No known key found for this signature in database
GPG Key ID: E7CB3193D37A49DA

View File

@ -2690,13 +2690,14 @@ public void OnClientPutInServer(int client)
SDKHook(client, SDKHook_PreThinkPost, PreThinkPost); SDKHook(client, SDKHook_PreThinkPost, PreThinkPost);
SDKHook(client, SDKHook_PostThinkPost, PostThinkPost); SDKHook(client, SDKHook_PostThinkPost, PostThinkPost);
}
public void OnClientAuthorized(int client, const char[] auth)
{
int iSteamID = GetSteamAccountID(client); int iSteamID = GetSteamAccountID(client);
if(iSteamID == 0) if(iSteamID == 0)
{ {
KickClient(client, "%T", "VerificationFailed", client);
return; return;
} }