fixed CheckAccess() in IAdminSystem having the wrong parameter type

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401483
This commit is contained in:
David Anderson 2007-09-26 02:14:05 +00:00
parent cd6007f54c
commit 53df0cba3f
3 changed files with 3 additions and 3 deletions

View File

@ -1707,7 +1707,7 @@ unsigned int AdminCache::GetAdminImmunityLevel(AdminId id)
return pUser->immunity_level;
}
bool AdminCache::CheckAccess(int client, const char *cmd, AdminFlag flags, bool override_only)
bool AdminCache::CheckAccess(int client, const char *cmd, FlagBits flags, bool override_only)
{
if (client == 0)
{

View File

@ -162,7 +162,7 @@ public: //IAdminSystem
unsigned int GetAdminImmunityLevel(AdminId id);
bool CheckAccess(int client,
const char *cmd,
AdminFlag flags,
FlagBits flags,
bool override_only);
public:
bool IsValidAdmin(AdminId id);

View File

@ -715,7 +715,7 @@ namespace SourceMod
*/
virtual bool CheckAccess(int client,
const char *cmd,
AdminFlag flags,
FlagBits flags,
bool override_only) =0;
};
}