Authenticator doesn't save the ini file.
Didn't load it -> shouldn't save it.
This commit is contained in:
parent
f032a2ff74
commit
a7d44d69dd
@ -67,7 +67,6 @@ void cAuthenticator::ReadINI(cIniFile & IniFile)
|
|||||||
if (bSave)
|
if (bSave)
|
||||||
{
|
{
|
||||||
IniFile.SetValueB("Authentication", "Authenticate", m_ShouldAuthenticate);
|
IniFile.SetValueB("Authentication", "Authenticate", m_ShouldAuthenticate);
|
||||||
IniFile.WriteFile("settings.ini");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +138,6 @@ void cRoot::Start(void)
|
|||||||
LOGERROR("Failure starting server, aborting...");
|
LOGERROR("Failure starting server, aborting...");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
IniFile.WriteFile("settings.ini");
|
|
||||||
|
|
||||||
m_WebAdmin = new cWebAdmin();
|
m_WebAdmin = new cWebAdmin();
|
||||||
m_WebAdmin->Init();
|
m_WebAdmin->Init();
|
||||||
@ -162,6 +161,8 @@ void cRoot::Start(void)
|
|||||||
LOGD("Starting Authenticator...");
|
LOGD("Starting Authenticator...");
|
||||||
m_Authenticator.Start(IniFile);
|
m_Authenticator.Start(IniFile);
|
||||||
|
|
||||||
|
IniFile.WriteFile("settings.ini");
|
||||||
|
|
||||||
LOGD("Starting worlds...");
|
LOGD("Starting worlds...");
|
||||||
StartWorlds();
|
StartWorlds();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user