mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Changed: Give priority to login specified as argument
--HG-- branch : develop
This commit is contained in:
parent
a002b20c7f
commit
c5e57273a9
1 changed files with 2 additions and 1 deletions
|
@ -779,7 +779,8 @@ void initLoginScreen()
|
||||||
|
|
||||||
ClientApp = ClientCfg.ConfigFile.getVar("Application").asString(0);
|
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())
|
if(!l.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue