From d608a48839e48860345062b69a7e59f81e8e9904 Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Sun, 4 Jan 2009 19:48:14 +0100 Subject: [PATCH] *Fix a typo in password command - by Machiavelli --HG-- branch : trunk --- src/game/Level0.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Level0.cpp b/src/game/Level0.cpp index 126c889d85..63a015f980 100644 --- a/src/game/Level0.cpp +++ b/src/game/Level0.cpp @@ -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);