*Fix a typo in password command - by Machiavelli

--HG--
branch : trunk
This commit is contained in:
Blaymoira committed 2009-01-04 19:48:14 +01:00
1 parent 0389ed4528
commit d608a48839
1 file changed
+1 -1
+1 -1
View File
@@ -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);