#include "inspircd.h"
#include <fstream>
#include "socketengine.h"
-#include "inspircd_se_config.h"
#include "filelogger.h"
FileLogStream::FileLogStream(int loglevel, FileWriter *fw)
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;
}