Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code)
This commit is contained in:
1 parent
e6b7de8c97
commit
cefcde9ba9
40 files changed
+72
-84
No files matched your search
@@ -775,7 +775,7 @@ public:
|
||||
if (handler->HasLowerSecurityAccount(NULL, targetAccountId, true))
|
||||
return false;
|
||||
|
||||
if (strcmp(password, passwordConfirmation))
|
||||
if (strcmp(password, passwordConfirmation) != 0)
|
||||
{
|
||||
handler->SendSysMessage(LANG_NEW_PASSWORDS_NOT_MATCH);
|
||||
handler->SetSentErrorMessage(true);
|
||||
|
||||
Reference in new issue
Block a user