mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Typo fix of previous commit (:S)
This commit is contained in:
@@ -222,7 +222,7 @@ std::string CalculateShaPassHash(std::string& name, std::string& password)
|
||||
|
||||
bool IsPlayerAccount(uint32 gmlevel)
|
||||
{
|
||||
return gmlevel = SEC_PLAYER;
|
||||
return gmlevel == SEC_PLAYER;
|
||||
}
|
||||
|
||||
bool IsModeratorAccount(uint32 gmlevel)
|
||||
@@ -242,7 +242,7 @@ bool IsAdminAccount(uint32 gmlevel)
|
||||
|
||||
bool IsConsoleAccount(uint32 gmlevel)
|
||||
{
|
||||
return gmlevel = SEC_CONSOLE;
|
||||
return gmlevel == SEC_CONSOLE;
|
||||
}
|
||||
|
||||
} // Namespace AccountMgr
|
||||
|
||||
Reference in New Issue
Block a user