diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-17 14:16:02 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-17 14:16:02 +0000 |
commit | 4507fa2302b7dd0a8f6f0a43d9b46f6c21bf3345 (patch) | |
tree | 7db734350e076d10fe1527293e4579328aba3aaf | |
parent | a95e3a9e0bf34d3addf4b1de1a3e31a76218a3e6 (diff) |
Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like the rest of the config, instead of comma-seperated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8957 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/logger.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_chanlog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 5c24a4451..c9171292a 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -106,7 +106,7 @@ void LogManager::OpenFileLogs() fw = i->second; } FileLogStream* fls = new FileLogStream(ServerInstance, loglevel, fw); - irc::commasepstream css(type); + irc::spacesepstream css(type); std::string tok; while (css.GetToken(tok)) { diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp index afc8c5225..68a349981 100644 --- a/src/modules/m_chanlog.cpp +++ b/src/modules/m_chanlog.cpp @@ -94,7 +94,7 @@ class ModuleChanLog : public Module } std::string target = Conf->ReadValue("log", "target", index); ChannelLogStream* c = new ChannelLogStream(ServerInstance, loglevel, target); - irc::commasepstream css(type); + irc::spacesepstream css(type); std::string tok; while (css.GetToken(tok)) { |