diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 14:20:58 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 14:20:58 +0000 |
commit | f63580a4eaa8d079200065dffa4d6a33b5577427 (patch) | |
tree | ec0d1a30442d29f5d9cc568817b0f7266bf4e514 /src/filelogger.cpp | |
parent | b1312399e42cb4b34e86f6c7075abca64665cdd3 (diff) |
Per-logstream loglevels.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8871 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/filelogger.cpp')
-rw-r--r-- | src/filelogger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelogger.cpp b/src/filelogger.cpp index d63d58915..5c2757520 100644 --- a/src/filelogger.cpp +++ b/src/filelogger.cpp @@ -112,7 +112,7 @@ void FileLogStream::OnLog(int loglevel, const std::string &type, const std::stri return; /* If we were given -debug we output all messages, regardless of configured loglevel */ - if ((loglevel < ServerInstance->Config->LogLevel) && !ServerInstance->Config->forcedebug) + if ((loglevel < this->loglvl) && !ServerInstance->Config->forcedebug) return; if (ServerInstance->Time() != LAST) |