aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBlaymoira <none@none>2009-01-04 19:48:14 +0100
committerBlaymoira <none@none>2009-01-04 19:48:14 +0100
commitd608a48839e48860345062b69a7e59f81e8e9904 (patch)
tree67051597710a8b467e12c7771195eea44af65a88 /src
parent0389ed45281b65c39b034bf4cc899dbdaf5d04ce (diff)
*Fix a typo in password command - by Machiavelli
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Level0.cpp2
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);