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:
David Anderson 2008-01-10 23:03:29 +00:00
parent 1efb7cc4df
commit a2a8634bb2

View File

@ -296,7 +296,7 @@ public Action:Command_Cvar(client, args)
}
new bool:allowed = false;
new client_flags = GetUserFlagBits(client);
new client_flags = client == 0 ? ADMFLAG_ROOT : GetUserFlagBits(client);
if (client_flags & ADMFLAG_ROOT)
{