From db1c78986c8055f59b9bdf98a883dfbf3f4db6b9 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 9 Feb 2008 11:43:25 +0000 Subject: Instantiate log manager git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8857 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 15ab63776..29457ec97 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -303,6 +303,9 @@ InspIRCd::InspIRCd(int argc, char** argv) memset(&server, 0, sizeof(server)); memset(&client, 0, sizeof(client)); + // This must be created first, so other parts of Insp can use it while starting up + this->Logs = new LogManager(this); + SocketEngineFactory* SEF = new SocketEngineFactory(); SE = SEF->Create(this); delete SEF; -- cgit v1.2.3