*Fix a typo in password command - by Machiavelli
--HG-- branch : trunk
This commit is contained in:
1 parent
0389ed4528
commit
d608a48839
1 file changed
+1
-1
+1
-1
@@ -197,7 +197,7 @@ bool ChatHandler::HandlePasswordCommand(const char* args)
|
||||
std::string password_new = new_pass;
|
||||
std::string password_new_c = new_pass_c;
|
||||
|
||||
if (password_new != password_new_c)
|
||||
if (strcmp(new_pass, new_pass_c) != 0)
|
||||
{
|
||||
SendSysMessage (LANG_NEW_PASSWORDS_NOT_MATCH);
|
||||
SetSentErrorMessage (true);
|
||||
|
||||
Reference in new issue
Block a user