summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-09-08 15:57:58 +0200
committerworktycho <work.tycho@gmail.com>2014-09-08 15:57:58 +0200
commit5f207c8bb799dc5619586c2e885f7a692a97d915 (patch)
tree83458cd0a945197b16ef1fdab20408e530ca363d
parentExported cClientHandle:GetIPString() to Lua API. (diff)
downloadcuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar
cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.gz
cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.bz2
cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.lz
cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.xz
cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.zst
cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.zip
-rw-r--r--src/Root.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index f04cbf08b..a2fbda812 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -151,6 +151,7 @@ void cRoot::Start(void)
m_MojangAPI.Start(IniFile); // Mojang API needs to be started before plugins, so that plugins may use it for DB upgrades on server init
if (!m_Server->InitServer(IniFile))
{
+ IniFile.WriteFile("Settings.ini")
LOGERROR("Failure starting server, aborting...");
return;
}