mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 21:11:39 +00:00
Changed: Give priority to login specified as argument
This commit is contained in:
parent
c8f96f065f
commit
64e3fedd70
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