summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-07 12:22:37 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-07 12:41:56 +0300
commit4bb9a1021066ef96e7b424fe7a3949cbbcfa195c (patch)
tree547859c6d825513aa984d57fc8617fb4943f60be /src/progs
parent75b5c657a149010e075f172cc9262432399ba54c (diff)
downloadmanaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.gz
manaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.bz2
manaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.xz
manaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.zip
Fix code style after merged switch port code
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/client.cpp3
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();
}