mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 02:18:26 +00:00
remove the steamid verification kick thing in OnClientPutInServer (#1047)
This commit is contained in:
parent
bdea503697
commit
b78ae36a0e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user