Changed: Give priority to login specified as argument
This commit is contained in:
parent
f93dfcfefe
commit
130229cbb7
1 changed files with 2 additions and 1 deletions
|
@ -779,7 +779,8 @@ void initLoginScreen()
|
|||
|
||||
ClientApp = ClientCfg.ConfigFile.getVar("Application").asString(0);
|
||||
|
||||
string l = ClientCfg.LastLogin;
|
||||
// give priority to login specified as argument
|
||||
string l = !LoginLogin.empty() ? LoginLogin:ClientCfg.LastLogin;
|
||||
|
||||
if(!l.empty())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue