diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 15:06:24 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 15:06:24 +0000 |
commit | ce4dc653ce9acbb9b278b355e3b2f88998b26ac9 (patch) | |
tree | dc6820932539d972c564c6092881b755e92d6529 /src/modules/m_chanlog.cpp | |
parent | 3cb3bb6f9a755ef951a88804582f80fe81726743 (diff) |
Remove two useless methods, chanlog is b0rked at the moment.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9313 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_chanlog.cpp')
-rw-r--r-- | src/modules/m_chanlog.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp index eb2fe8118..4a8a41cb0 100644 --- a/src/modules/m_chanlog.cpp +++ b/src/modules/m_chanlog.cpp @@ -27,7 +27,9 @@ class ChannelLogStream : public LogStream { Channel *c = ServerInstance->FindChan(channel); - if (loglevel < this->loglvl) return; +printf("I got called\n"); + if (loglevel < this->loglvl) + return; if (c) { @@ -72,8 +74,9 @@ class ModuleChanLog : public Module { std::string method = Conf->ReadValue("log", "method", index); - if (method != "file") - continue; + + //if (method != "file") + // continue; std::string type = Conf->ReadValue("log", "type", index); std::string level = Conf->ReadValue("log", "level", index); @@ -102,6 +105,9 @@ class ModuleChanLog : public Module } std::string target = Conf->ReadValue("log", "target", index); + +printf("looking at tag with method: %s type: %s level: %s target: %s", method.c_str(), type.c_str(), level.c_str(), target.c_str()); + ChannelLogStream* c = new ChannelLogStream(ServerInstance, loglevel, target); ServerInstance->Logs->AddLogTypes(type, c, true); cls.push_back(c); |