Permalink
Browse files

Core/Account: Remove unused helper functions

  • Loading branch information...
1 parent b4ee55d commit af200bfaa5a84c8011c4c487fe4c5ea64bc17418 @Spp- Spp- committed Mar 20, 2013
Showing with 0 additions and 12 deletions.
  1. +0 −10 src/server/game/Accounts/AccountMgr.cpp
  2. +0 −2 src/server/game/Accounts/AccountMgr.h
@@ -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;
@@ -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);

0 comments on commit af200bf

Please sign in to comment.