summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-05 01:55:04 -0400
committerAdam <Adam@anope.org>2013-05-05 01:55:04 -0400
commit1d0bb9b26b7ad58ab0bf979ac046f4511b3bf12b (patch)
tree4486f0784bdf050fd7eb225c0cb9df352ce1f45a /src/logger.cpp
parent781defb7076ddfddf723ca08cd0a518b6657b64f (diff)
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index f738cb2e1..d071b7cc3 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -21,7 +21,6 @@
#include "servers.h"
#include "uplink.h"
#include "protocol.h"
-#include "global.h"
#ifndef _WIN32
#include <sys/time.h>
@@ -149,8 +148,8 @@ Log::~Log()
if (Config)
for (unsigned i = 0; i < Config->LogInfos.size(); ++i)
- if (Config->LogInfos[i]->HasType(this->type, this->category))
- Config->LogInfos[i]->ProcessMessage(this);
+ if (Config->LogInfos[i].HasType(this->type, this->category))
+ Config->LogInfos[i].ProcessMessage(this);
FOREACH_MOD(I_OnLog, OnLog(this));
}