diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-02-22 11:26:19 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-02-22 11:26:19 -0500 |
commit | 5c032825219a78756599fe638d8740961ff8f66e (patch) | |
tree | a6202b36cf0589786520476f747aad9cecff60be /src | |
parent | 6fe8c45375f883813e646175d557ccbbf5b9926d (diff) | |
parent | 92d5864b80ac6b1d382c1576c0e21f8330aa6816 (diff) |
Merge branch 'testnetirc' of https://github.com/sipa/bitcoin
Diffstat (limited to 'src')
-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) |