From dc3b56e53d52d3c082c412f0791d1cda8f068eef Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sat, 8 May 2010 14:36:29 -0500 Subject: Compile testing can be useful --- src/logger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/logger.cpp b/src/logger.cpp index 41363b414..51f927104 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -53,7 +53,7 @@ LogManager::~LogManager() void LogManager::OpenFileLogs() { - if (Config->cmdline.forcedebug) + if (ServerInstance->Config->cmdline.forcedebug) { ServerInstance->Config->RawLog = true; return; @@ -124,7 +124,7 @@ void LogManager::OpenFileLogs() void LogManager::CloseLogs() { - if (Config->cmdline.forcedebug) + if (ServerInstance->Config->cmdline.forcedebug) return; std::map >().swap(LogStreams); /* Clear it */ std::map >().swap(GlobalLogStreams); /* Clear it */ -- cgit v1.2.3