mirror of
https://github.com/anope/anope.git
synced 2026-06-27 14:06:39 +02:00
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user