summaryrefslogtreecommitdiffstats
path: root/source/Root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Root.cpp')
-rw-r--r--source/Root.cpp3
1 files changed, 2 insertions, 1 deletions
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();