summaryrefslogtreecommitdiff
path: root/src/net/ea
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/net/ea
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/net/ea')
-rw-r--r--src/net/ea/loginhandler.cpp6
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", "");