Leave IRC enabled by default on testnet

As testnet has neither DNS seeds or built-in seed addresses to
bootstrap from.
This commit is contained in:
Pieter Wuille 2012-02-22 05:17:49 +01:00
parent 0d56f11ada
commit 92d5864b80

View file

@ -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)