Skip to content

Commit

Permalink
remove the steamid verification kick thing in OnClientPutInServer (#1047
Browse files Browse the repository at this point in the history
)
  • Loading branch information
BoomShotKapow authored and rtldg committed Aug 15, 2022
1 parent bdea503 commit b78ae36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions addons/sourcemod/scripting/shavit-core.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2690,13 +2690,14 @@ public void OnClientPutInServer(int client)

SDKHook(client, SDKHook_PreThinkPost, PreThinkPost);
SDKHook(client, SDKHook_PostThinkPost, PostThinkPost);
}

public void OnClientAuthorized(int client, const char[] auth)
{
int iSteamID = GetSteamAccountID(client);

if(iSteamID == 0)
{
KickClient(client, "%T", "VerificationFailed", client);

return;
}

Expand Down

0 comments on commit b78ae36

Please sign in to comment.