summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-17 14:16:02 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-17 14:16:02 +0000
commit4507fa2302b7dd0a8f6f0a43d9b46f6c21bf3345 (patch)
tree7db734350e076d10fe1527293e4579328aba3aaf /src
parenta95e3a9e0bf34d3addf4b1de1a3e31a76218a3e6 (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
Diffstat (limited to 'src')
-rw-r--r--src/logger.cpp2
-rw-r--r--src/modules/m_chanlog.cpp2
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))
{