mirror of
https://github.com/anope/anope.git
synced 2026-07-05 12:43:13 +02:00
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
This commit is contained in:
+2
-3
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user