summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-04 21:42:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-04 21:42:21 +0300
commitd852298dad5a6703b78098b08bf918f886feb98e (patch)
tree9ca50032151b80fe3004adefc9790907ad975786
parent829709f07a16e945af416cb1df23d0fcefdba8e0 (diff)
downloadmanaplus-d852298dad5a6703b78098b08bf918f886feb98e.tar.gz
manaplus-d852298dad5a6703b78098b08bf918f886feb98e.tar.bz2
manaplus-d852298dad5a6703b78098b08bf918f886feb98e.tar.xz
manaplus-d852298dad5a6703b78098b08bf918f886feb98e.zip
Fix char deletion password request if was connected to server with password from command line.
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 2f7aa31e1..8b70c084f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -412,6 +412,7 @@ void Client::gameInit()
loginData.username = settings.options.username;
loginData.password = settings.options.password;
+ LoginDialog::savedPassword = settings.options.password;
loginData.remember = serverConfig.getValue("remember", 1);
loginData.registerLogin = false;