diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-28 22:30:34 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-28 22:30:34 +0000 |
commit | 003e9406368c9fcabaebc0711156cafd82303417 (patch) | |
tree | 91716a38b8575d016e9e870be196aba9e68ca790 /src/inspircd.cpp | |
parent | 25d1c9c176be31458ffc264d5b6e7ccdd8660717 (diff) |
Signal handlers were not being set when -nofork was enabled
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2688 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b68f4934e..6d21e3677 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -199,6 +199,7 @@ InspIRCd::InspIRCd(int argc, char** argv) memset(&Config->implement_lists,0,sizeof(Config->implement_lists)); printf("\n"); + SetSignals(); if (!Config->nofork) { if (DaemonSeed() == ERROR) |