summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-05-08 14:36:29 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2010-05-08 14:36:29 -0500
commitdc3b56e53d52d3c082c412f0791d1cda8f068eef (patch)
tree375be940c84bfc1837352227bb8a369f3b5a614d /src/logger.cpp
parentf3dc5572200b4bce6b09448ac4660e2d889cb038 (diff)
Compile testing can be useful
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp4
1 files changed, 2 insertions, 2 deletions
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<std::string, std::vector<LogStream*> >().swap(LogStreams); /* Clear it */
std::map<LogStream*, std::vector<std::string> >().swap(GlobalLogStreams); /* Clear it */