diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/Authenticator.cpp | 1 | ||||
-rw-r--r-- | source/Root.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/Authenticator.cpp b/source/Authenticator.cpp index a32e9ce8f..e09fd0871 100644 --- a/source/Authenticator.cpp +++ b/source/Authenticator.cpp @@ -67,7 +67,6 @@ void cAuthenticator::ReadINI(cIniFile & IniFile) if (bSave) { IniFile.SetValueB("Authentication", "Authenticate", m_ShouldAuthenticate); - IniFile.WriteFile("settings.ini"); } } diff --git a/source/Root.cpp b/source/Root.cpp index 2397fc875..e992ff614 100644 --- a/source/Root.cpp +++ b/source/Root.cpp @@ -138,7 +138,6 @@ void cRoot::Start(void) LOGERROR("Failure starting server, aborting..."); return; } - IniFile.WriteFile("settings.ini"); m_WebAdmin = new cWebAdmin(); m_WebAdmin->Init(); @@ -162,6 +161,8 @@ void cRoot::Start(void) LOGD("Starting Authenticator..."); m_Authenticator.Start(IniFile); + IniFile.WriteFile("settings.ini"); + LOGD("Starting worlds..."); StartWorlds(); |