fixed amb1382 - sm_cvar from console rte'd
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401850
This commit is contained in:
parent
1efb7cc4df
commit
a2a8634bb2
@ -296,7 +296,7 @@ public Action:Command_Cvar(client, args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
new bool:allowed = false;
|
new bool:allowed = false;
|
||||||
new client_flags = GetUserFlagBits(client);
|
new client_flags = client == 0 ? ADMFLAG_ROOT : GetUserFlagBits(client);
|
||||||
|
|
||||||
if (client_flags & ADMFLAG_ROOT)
|
if (client_flags & ADMFLAG_ROOT)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user