custom-chatcolors: Do not load tags if client doesn't have access

This commit is contained in:
BotoX 2016-08-10 01:12:59 +02:00
parent dbc2201df5
commit 387da4b623

View File

@ -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));