summaryrefslogtreecommitdiffstats
path: root/source/MCLogger.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-12 08:42:18 +0200
committermadmaxoft <github@xoft.cz>2013-08-12 14:47:08 +0200
commit27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27 (patch)
tree2d6a42cd4eb69317e4f059b68392343c638673b3 /source/MCLogger.cpp
parentRemoved cServer::BroadcastChat() and cServer::SendMessage(). (diff)
downloadcuberite-27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27.tar
cuberite-27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27.tar.gz
cuberite-27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27.tar.bz2
cuberite-27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27.tar.lz
cuberite-27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27.tar.xz
cuberite-27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27.tar.zst
cuberite-27d0c9aef2d25b4d1f81f5b361f3f1f0ab9efc27.zip
Diffstat (limited to 'source/MCLogger.cpp')
-rw-r--r--source/MCLogger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/MCLogger.cpp b/source/MCLogger.cpp
index de0fcae2e..2870d8ba1 100644
--- a/source/MCLogger.cpp
+++ b/source/MCLogger.cpp
@@ -75,7 +75,9 @@ cMCLogger::~cMCLogger()
m_Log->Log("--- Stopped Log ---\n");
delete m_Log;
if (this == s_MCLogger)
+ {
s_MCLogger = NULL;
+ }
}