Core/Account: Remove unused helper functions

This commit is contained in:
Spp
2013-03-20 11:34:53 +01:00
parent b4ee55dd05
commit af200bfaa5
2 changed files with 0 additions and 12 deletions

View File

@@ -308,16 +308,6 @@ bool AccountMgr::IsPlayerAccount(uint32 gmlevel)
return gmlevel == SEC_PLAYER;
}
bool AccountMgr::IsModeratorAccount(uint32 gmlevel)
{
return gmlevel >= SEC_MODERATOR && gmlevel <= SEC_CONSOLE;
}
bool AccountMgr::IsGMAccount(uint32 gmlevel)
{
return gmlevel >= SEC_GAMEMASTER && gmlevel <= SEC_CONSOLE;
}
bool AccountMgr::IsAdminAccount(uint32 gmlevel)
{
return gmlevel >= SEC_ADMINISTRATOR && gmlevel <= SEC_CONSOLE;

View File

@@ -63,8 +63,6 @@ class AccountMgr
static std::string CalculateShaPassHash(std::string const& name, std::string const& password);
static bool normalizeString(std::string& utf8String);
static bool IsPlayerAccount(uint32 gmlevel);
static bool IsModeratorAccount(uint32 gmlevel);
static bool IsGMAccount(uint32 gmlevel);
static bool IsAdminAccount(uint32 gmlevel);
static bool IsConsoleAccount(uint32 gmlevel);
static bool HasPermission(uint32 accountId, uint32 permission, uint32 realmId);