diff options
author | madmaxoft <github@xoft.cz> | 2013-09-24 20:52:37 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-24 20:52:37 +0200 |
commit | 11e0c73ffd23a506c68ae351641a7ca74085ca81 (patch) | |
tree | 35c68724d42014f4b5f55beacc0aaf030dda1a34 /source/Root.cpp | |
parent | Fixed a few compiler warnings (diff) | |
download | cuberite-11e0c73ffd23a506c68ae351641a7ca74085ca81.tar cuberite-11e0c73ffd23a506c68ae351641a7ca74085ca81.tar.gz cuberite-11e0c73ffd23a506c68ae351641a7ca74085ca81.tar.bz2 cuberite-11e0c73ffd23a506c68ae351641a7ca74085ca81.tar.lz cuberite-11e0c73ffd23a506c68ae351641a7ca74085ca81.tar.xz cuberite-11e0c73ffd23a506c68ae351641a7ca74085ca81.tar.zst cuberite-11e0c73ffd23a506c68ae351641a7ca74085ca81.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Root.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/Root.cpp b/source/Root.cpp index 3933535f1..823bd8e13 100644 --- a/source/Root.cpp +++ b/source/Root.cpp @@ -135,11 +135,9 @@ void cRoot::Start(void) { LOGWARNING("webadmin.ini inaccessible, wabadmin is disabled"); } - - if (WebIniFile.GetValueB("WebAdmin", "Enabled", false)) + else { - LOG("Creating WebAdmin..."); - m_WebAdmin = new cWebAdmin(8080); + m_WebServer.Initialize(WebIniFile); } LOG("Loading settings..."); |