- 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:
David Anderson
2007-08-19 15:11:49 +00:00
parent 267312d553
commit 33580d632b
3 changed files with 50 additions and 12 deletions
+8
View File
@@ -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;
};
}