1
0
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:
Adam
2013-05-05 01:55:04 -04:00
parent 781defb707
commit 1d0bb9b26b
165 changed files with 3093 additions and 4861 deletions
+2 -3
View File
@@ -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));
}