diff options
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r-- | src/progs/manaplus/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index d47404925..349f02b4b 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -1645,7 +1645,8 @@ int Client::gameExec() BLOCK_START("Client::gameExec State::ERROR") config.write(); #ifdef SAVE_PASSWORD - if(errorMessage == "Wrong password.") { + if (errorMessage == "Wrong password.") + { serverConfig.setValue("password", ""); serverConfig.write(); } |