diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Level0.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level0.cpp b/src/game/Level0.cpp index 126c889d854..63a015f9802 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); |