summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-06-05 23:33:49 +0200
committerworktycho <work.tycho@gmail.com>2015-06-05 23:33:49 +0200
commit54c1926a3a79407a87fc0afe6963aeb26d149a7b (patch)
tree11aea958ecef35fcb5be5b107bcc504d59be5ae8 /src/Root.cpp
parentMerge pull request #2206 from mc-server/APIDumpTimeStamp (diff)
parentDaemon support on Linux. (diff)
downloadcuberite-54c1926a3a79407a87fc0afe6963aeb26d149a7b.tar
cuberite-54c1926a3a79407a87fc0afe6963aeb26d149a7b.tar.gz
cuberite-54c1926a3a79407a87fc0afe6963aeb26d149a7b.tar.bz2
cuberite-54c1926a3a79407a87fc0afe6963aeb26d149a7b.tar.lz
cuberite-54c1926a3a79407a87fc0afe6963aeb26d149a7b.tar.xz
cuberite-54c1926a3a79407a87fc0afe6963aeb26d149a7b.tar.zst
cuberite-54c1926a3a79407a87fc0afe6963aeb26d149a7b.zip
Diffstat (limited to 'src/Root.cpp')
-rw-r--r--src/Root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 54e65b6da..8d344ee65 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -106,7 +106,7 @@ void cRoot::Start(std::unique_ptr<cSettingsRepositoryInterface> overridesRepo)
EnableMenuItem(hmenu, SC_CLOSE, MF_GRAYED); // Disable close button when starting up; it causes problems with our CTRL-CLOSE handling
#endif
- cLogger::cListener * consoleLogListener = MakeConsoleListener();
+ cLogger::cListener * consoleLogListener = MakeConsoleListener(m_RunAsService);
cLogger::cListener * fileLogListener = new cFileListener();
cLogger::GetInstance().AttachListener(consoleLogListener);
cLogger::GetInstance().AttachListener(fileLogListener);