}
std::string target = Conf->ReadValue("log", "target", index);
ChannelLogStream* c = new ChannelLogStream(ServerInstance, loglevel, target);
- irc::commasepstream css(type);
- std::string tok;
- while (css.GetToken(tok))
- {
- ServerInstance->Logs->AddLogType(tok, c);
- }
+ ServerInstance->Logs->AddLogTypes(type, c, true);
cls.push_back(c);
}
}