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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user