- fixed a series of corruption bugs in the admin cache (oh man, i suck sometimes)
- fixed per-group immunity being implemented completely wrong - fixed GetAdminGroup being implemented wrong - fixed a crash bug in the native GetAdminGroup --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401362
This commit is contained in:
@@ -647,6 +647,14 @@ namespace SourceMod
|
||||
* @return True on success, false on failure.
|
||||
*/
|
||||
virtual bool CanAdminUseCommand(int client, const char *cmd) =0;
|
||||
|
||||
/**
|
||||
* @brief Returns the name of a group.
|
||||
*
|
||||
* @param gid Group Id.
|
||||
* @return Group name, or NULL on failure.
|
||||
*/
|
||||
virtual const char *GetGroupName(GroupId gid) =0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user