1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 16:06:39 +02:00

Add a config option for the default log bot

This commit is contained in:
Adam
2013-05-18 13:07:57 -04:00
parent 3253455792
commit 51b7d53108
4 changed files with 19 additions and 15 deletions
+1
View File
@@ -387,6 +387,7 @@ Conf::Conf() : Block("")
LogInfo l(logage, rawio, debug);
l.bot = BotInfo::Find(log->Get<const Anope::string>("bot", "Global"));
spacesepstream(log->Get<const Anope::string>("target")).GetTokens(l.targets);
spacesepstream(log->Get<const Anope::string>("source")).GetTokens(l.sources);
spacesepstream(log->Get<const Anope::string>("admin")).GetTokens(l.admin);