diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-07 12:22:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-07 12:41:56 +0300 |
commit | 4bb9a1021066ef96e7b424fe7a3949cbbcfa195c (patch) | |
tree | 547859c6d825513aa984d57fc8617fb4943f60be /src/net | |
parent | 75b5c657a149010e075f172cc9262432399ba54c (diff) | |
download | manaverse-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/net')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index 92a2e9f35..2fc177476 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -152,13 +152,15 @@ void LoginHandler::loginOrRegister(LoginData *const data) const loginAccount(data); const bool remember = data->remember; - if (remember) { + if (remember) + { serverConfig.setValue("username", data->username); #ifdef SAVE_PASSWORD serverConfig.setValue("password", data->password); #endif } - else { + else + { serverConfig.setValue("username", ""); #ifdef SAVE_PASSWORD serverConfig.setValue("password", ""); |