Typo fix of previous commit (:S)
This commit is contained in:
1 parent
d46ef045a6
commit
bb0e38fcda
1 file changed
+2
-2
@@ -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