summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-25 21:40:43 -0500
committerAdam <Adam@anope.org>2011-02-25 21:40:43 -0500
commitee387569821b45581063f6bc349cccc643f9a293 (patch)
tree9f8a83e5e9a36304d06c75f2bdf351729ca9bb65 /src/config.cpp
parenteea7d2eb7715f875096641bae18250122078bd00 (diff)
Fixed a lot of small problems
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 6bf0a522f..cc0879936 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -317,6 +317,8 @@ ServerConfig::ServerConfig() : errstr(""), config_data(), NSDefFlags(NickCoreFla
}
SetDefaultMLock(this);
+ if (ircd)
+ InitLogChannels(this);
if (IsFile(this->NameServer))
{
@@ -950,9 +952,6 @@ bool DoLogs(ServerConfig *config, const Anope::string &, const Anope::string *,
bool DoneLogs(ServerConfig *config, const Anope::string &)
{
- if (ircd)
- InitLogChannels(config);
-
Log() << "Loaded " << config->LogInfos.size() << " log blocks";
return true;