summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_chanlog.cpp7
1 files changed, 1 insertions, 6 deletions
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);
}
}