summaryrefslogtreecommitdiffstats
path: root/source/Root.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-27 09:09:39 +0100
committermadmaxoft <github@xoft.cz>2013-10-27 09:09:39 +0100
commita7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd (patch)
treef48e1714d2242399d67ffaaf2313761249cac4ef /source/Root.cpp
parentMerge branch 'origin/LoadWorlds/cAuthenticatorINI' (diff)
downloadcuberite-a7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd.tar
cuberite-a7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd.tar.gz
cuberite-a7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd.tar.bz2
cuberite-a7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd.tar.lz
cuberite-a7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd.tar.xz
cuberite-a7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd.tar.zst
cuberite-a7d44d69ddd8bfd5cd749dc9bcdf23597ae6d1cd.zip
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();