From 4965a1d6697565b1a72de31deaccfd93180bd403 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 10 Feb 2008 20:07:30 +0000 Subject: Code for loading tags from config, but this still needs to be fit into the config reader stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8885 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 8ae88e752..d325b40aa 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -324,7 +324,9 @@ bool InspIRCd::OpenLog(char**, int) return false; } - FileLogStream *f = new FileLogStream(this, Config->LogLevel, Config->log_file); + FileWriter* fw = new FileWriter(this, Config->log_file); + FileLogStream *f = new FileLogStream(this, Config->LogLevel, fw); + this->Logs->AddLogType("*", f); return true; } -- cgit v1.2.3