diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-22 05:17:49 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-22 05:19:09 +0100 |
commit | 92d5864b80ac6b1d382c1576c0e21f8330aa6816 (patch) | |
tree | 55c9b2a7661f3a26f75d18a67428ad720307f6d1 /src/init.cpp | |
parent | 0d56f11ada27d8fa60c8f5179917a7c9de4a8c4b (diff) |
Leave IRC enabled by default on testnet
As testnet has neither DNS seeds or built-in seed addresses to
bootstrap from.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index f09f044f16..b2c59ec4ec 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) |