From dcbb0ae938711cd49df73dc2ff6cd6289aeefb44 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 21 Oct 2009 23:46:24 +0000 Subject: Move command-line items to CommandLineConf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/filelogger.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/filelogger.cpp') diff --git a/src/filelogger.cpp b/src/filelogger.cpp index f442b8b7a..9e52f1ab5 100644 --- a/src/filelogger.cpp +++ b/src/filelogger.cpp @@ -35,12 +35,7 @@ void FileLogStream::OnLog(int loglevel, const std::string &type, const std::stri static char TIMESTR[26]; static time_t LAST = 0; - /* sanity check, just in case */ - if (!ServerInstance->Config) - return; - - /* If we were given -debug we output all messages, regardless of configured loglevel */ - if ((loglevel < this->loglvl) && !ServerInstance->Config->forcedebug) + if (loglevel < this->loglvl) { return; } -- cgit v1.2.3