From 92d5864b80ac6b1d382c1576c0e21f8330aa6816 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 22 Feb 2012 05:17:49 +0100 Subject: [PATCH] Leave IRC enabled by default on testnet As testnet has neither DNS seeds or built-in seed addresses to bootstrap from. --- src/init.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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)