diff options
author | madmaxoft <github@xoft.cz> | 2014-04-30 17:37:25 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-30 17:37:25 +0200 |
commit | ab2dfb44faf94fcae4b9ca2af13aa14035e96a97 (patch) | |
tree | fca84db27baf0cf753443e7af5505777db1f06ed | |
parent | Fixed a warning when an empty item is being created. (diff) | |
download | cuberite-ab2dfb44faf94fcae4b9ca2af13aa14035e96a97.tar cuberite-ab2dfb44faf94fcae4b9ca2af13aa14035e96a97.tar.gz cuberite-ab2dfb44faf94fcae4b9ca2af13aa14035e96a97.tar.bz2 cuberite-ab2dfb44faf94fcae4b9ca2af13aa14035e96a97.tar.lz cuberite-ab2dfb44faf94fcae4b9ca2af13aa14035e96a97.tar.xz cuberite-ab2dfb44faf94fcae4b9ca2af13aa14035e96a97.tar.zst cuberite-ab2dfb44faf94fcae4b9ca2af13aa14035e96a97.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WebAdmin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp index 737705d7c..08e164d78 100644 --- a/src/WebAdmin.cpp +++ b/src/WebAdmin.cpp @@ -89,6 +89,7 @@ bool cWebAdmin::Init(void) m_IniFile.AddHeaderComment(" Password format: Password=*password*; for example:"); m_IniFile.AddHeaderComment(" [User:admin]"); m_IniFile.AddHeaderComment(" Password=admin"); + m_IniFile.WriteFile("webadmin.ini"); } if (!m_IniFile.GetValueSetB("WebAdmin", "Enabled", true)) |