Added support for group based authentication.

This commit is contained in:
richard
2009-08-11 03:29:22 +02:00
parent 658a800fea
commit 3a82d3d9b0
7 changed files with 198 additions and 17 deletions

View File

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