From d17465716790010b6e3221f9ce49272110276ccf Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 12:15:03 +0000 Subject: Now two types of log macro, log() and ilog(). log() assumes an InspIRCd object called ServerInstance, ilog() takes an InspIRCd object as first param. TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 22d2e51a9..c63ac750b 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -136,8 +136,6 @@ void InspIRCd::SetSignals(bool SEGVHandler) signal (SIGHUP, InspIRCd::Rehash); signal (SIGPIPE, SIG_IGN); signal (SIGTERM, InspIRCd::Exit); - if (SEGVHandler) - signal (SIGSEGV, InspIRCd::Error); } bool InspIRCd::DaemonSeed() @@ -301,7 +299,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : ModCount(-1) * initialize the socket engine. */ SocketEngineFactory* SEF = new SocketEngineFactory(); - SE = SEF->Create(); + SE = SEF->Create(this); delete SEF; /* We must load the modules AFTER initializing the socket engine, now */ -- cgit v1.2.3