Difference between revisions of "Bz groupAllowPerm"

From BZFlagWiki
Jump to: navigation, search
(Added bz_groupAllowPerm)
 
(Doesn't return a bz_APIStringList, but rather a bool. (typo))
 
Line 8: Line 8:
 
| param2type  = const char*
 
| param2type  = const char*
 
| param2desc  = Permission to grant.
 
| param2desc  = Permission to grant.
| returntype  = bz_APIStringList*
+
| returntype  = bool
 
| returns    = Whether the group provided exists.
 
| returns    = Whether the group provided exists.
 
| version    = 2.0.x or later
 
| version    = 2.0.x or later
 
}}
 
}}

Latest revision as of 00:56, 12 February 2009

bool bz_groupAllowPerm (const char* group, const char* perm)


Minimum API Version: 2.0.x or later
Grants the group a certain permission.

Parameters:
group  -  Group to look up.
perm  -  Permission to grant.
Returns:
Whether the group provided exists.