custom-chatcolors: Do not load tags if client doesn't have access
This commit is contained in:
parent
dbc2201df5
commit
387da4b623
@ -2428,9 +2428,10 @@ public void OnClientDisconnect(int client)
|
||||
public void OnClientPostAdminCheck(int client)
|
||||
{
|
||||
if (!ConfigForward(client))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!CheckCommandAccess(client, "sm_tag", ADMFLAG_CUSTOM1))
|
||||
return;
|
||||
|
||||
char auth[32];
|
||||
GetClientAuthId(client, AuthId_Steam2, auth, sizeof(auth));
|
||||
|
Loading…
Reference in New Issue
Block a user