diff --git a/src/init.cpp b/src/init.cpp index f09f044f168..b2c59ec4ecc 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -259,6 +259,11 @@ bool AppInit2(int argc, char* argv[]) } fTestNet = GetBoolArg("-testnet"); + if (fTestNet) + { + SoftSetBoolArg("-irc", true); + } + fDebug = GetBoolArg("-debug"); #if !defined(WIN32) && !defined(QT_GUI)