summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorAnthony Birkett <antbir@gmail.com>2015-06-04 15:13:07 +0200
committerAnthony Birkett <anthony@a-birkett.com>2015-06-05 16:47:47 +0200
commit9dac3902473c4e240a05430113aa9bd49af54d7d (patch)
tree7c2d9ee69a4ff68d7bfb23a6f2cc307e568c2ab4 /src/Root.cpp
parentMerge pull request #2203 from jan64/master (diff)
downloadcuberite-9dac3902473c4e240a05430113aa9bd49af54d7d.tar
cuberite-9dac3902473c4e240a05430113aa9bd49af54d7d.tar.gz
cuberite-9dac3902473c4e240a05430113aa9bd49af54d7d.tar.bz2
cuberite-9dac3902473c4e240a05430113aa9bd49af54d7d.tar.lz
cuberite-9dac3902473c4e240a05430113aa9bd49af54d7d.tar.xz
cuberite-9dac3902473c4e240a05430113aa9bd49af54d7d.tar.zst
cuberite-9dac3902473c4e240a05430113aa9bd49af54d7d.zip
Diffstat (limited to '')
-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);