diff options
Diffstat (limited to 'src/inspircd.cpp')
-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); |