diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-21 16:10:32 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-21 16:10:32 +0000 |
commit | 7ed5b42b1fd13d9101e59348514b1d0de7085682 (patch) | |
tree | b3699f0e951262a0a14aedef41e3207ff9b9f1be /src | |
parent | 54b2b600de7b6f74d387cb0db55375267572adde (diff) |
Testsuite stuff and fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8977 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 907a4c14d..9748e9472 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -38,6 +38,7 @@ #include "command_parse.h" #include "exitcodes.h" #include "caller.h" +#include "testsuite.h" using irc::sockets::insp_ntoa; using irc::sockets::insp_inaddr; @@ -381,6 +382,9 @@ InspIRCd::InspIRCd(int argc, char** argv) } } + if (do_testsuite) + do_nofork = do_debug = true; + if (do_version) { printf("\n%s r%s\n", VERSION, REVISION); |