mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
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:
parent
0d56f11ada
commit
92d5864b80
1 changed files with 5 additions and 0 deletions
|
@ -259,6 +259,11 @@ bool AppInit2(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
fTestNet = GetBoolArg("-testnet");
|
fTestNet = GetBoolArg("-testnet");
|
||||||
|
if (fTestNet)
|
||||||
|
{
|
||||||
|
SoftSetBoolArg("-irc", true);
|
||||||
|
}
|
||||||
|
|
||||||
fDebug = GetBoolArg("-debug");
|
fDebug = GetBoolArg("-debug");
|
||||||
|
|
||||||
#if !defined(WIN32) && !defined(QT_GUI)
|
#if !defined(WIN32) && !defined(QT_GUI)
|
||||||
|
|
Loading…
Add table
Reference in a new issue