summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 1 insertions, 3 deletions
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 */