Added support for group based authentication.

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

No files matched your search

+2 -8
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;
}