mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-05 23:09:04 +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);
|
||||
|
||||
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