summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-18 13:07:57 -0400
committerAdam <Adam@anope.org>2013-05-18 13:08:26 -0400
commit51b7d53108a01fcd0854fe9d602fee330339d4d3 (patch)
tree1cb59dc702e213dca62e14be1d798e0d9de4f989 /src/config.cpp
parent3253455792568eda3f688916b533cb814b9996fb (diff)
Add a config option for the default log bot
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 07b51f99e..1adcd624a 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -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);