Added support for group based authentication.
This commit is contained in:
1 parent
658a800fea
commit
3a82d3d9b0
7 files changed
+198
-17
No files matched your search
@@ -409,15 +409,9 @@ public ClassMenuSelectHandle(Handle:menu, MenuAction:action, client, slot)
|
||||
* @return True if displayed, false otherwise.
|
||||
*/
|
||||
bool:ClassTeamSelect(client)
|
||||
{
|
||||
// Validate client.
|
||||
if (!ZRIsClientValid(client, false))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
{
|
||||
// Validate permissions.
|
||||
if (!ZRIsClientAdmin(client, Admin_Config))
|
||||
if (!ZRIsClientPrivileged(client, OperationType_Configuration))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user