diff options
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) |