From e3df3b9d267cb3839db268ff6d0be389c45ebf6d Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 17 Feb 2008 19:09:03 +0000 Subject: Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean everything except USER{INPUT,OUTPUT}), also pretty up and expand on the documentation in LogManager git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8959 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanlog.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/modules/m_chanlog.cpp') diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp index 68a349981..2a4535fa5 100644 --- a/src/modules/m_chanlog.cpp +++ b/src/modules/m_chanlog.cpp @@ -94,12 +94,7 @@ class ModuleChanLog : public Module } std::string target = Conf->ReadValue("log", "target", index); ChannelLogStream* c = new ChannelLogStream(ServerInstance, loglevel, target); - irc::spacesepstream css(type); - std::string tok; - while (css.GetToken(tok)) - { - ServerInstance->Logs->AddLogType(tok, c, true); - } + ServerInstance->Logs->AddLogTypes(type, c, true); cls.push_back(c); } } -- cgit v1.2.3