summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 3873c1dee..f5b7ff55c 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -129,7 +129,7 @@ Log::~Log()
else if (this->type == LOG_TERMINAL)
std::cout << this->BuildPrefix() << this->buf.str() << std::endl;
- FOREACH_MOD(I_OnLog, OnLog(this));
+ FOREACH_MOD(OnLog, (this));
if (Config)
for (unsigned i = 0; i < Config->LogInfos.size(); ++i)