Typo fix of previous commit (:S)

This commit is contained in:
Spp
2011-09-08 18:41:43 +02:00
parent d46ef045a6
commit bb0e38fcda

View File

@@ -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