diff options
| author | Gavin Andresen <[email protected]> | 2012-02-06 14:35:57 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-02-07 09:14:31 -0500 |
| commit | 9d952d17bb1bd05d5dbfb620f669adfbc223ce0e (patch) | |
| tree | bd1361bd1ea63650651969dd58a662ddc267b26a /src/net.cpp | |
| parent | New GetArg features: allow --, and booleans can be -foo or -nofoo (diff) | |
| download | discoin-9d952d17bb1bd05d5dbfb620f669adfbc223ce0e.tar.xz discoin-9d952d17bb1bd05d5dbfb620f669adfbc223ce0e.zip | |
Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. And switch default for irc to 0.
Diffstat (limited to 'src/net.cpp')
| -rw-r--r-- | src/net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index a7eaaaceb..b6f2951d6 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -200,7 +200,7 @@ bool GetMyExternalIP(CNetAddr& ipRet) void ThreadGetMyExternalIP(void* parg) { // Wait for IRC to get it first - if (!GetBoolArg("-noirc")) + if (GetBoolArg("-irc", false)) { for (int i = 0; i < 2 * 60; i++) { @@ -1706,7 +1706,7 @@ void StartNode(void* parg) // Start threads // - if (GetBoolArg("-nodnsseed")) + if (!GetBoolArg("-dnsseed", true)) printf("DNS seeding disabled\n"); else if (!CreateThread(ThreadDNSAddressSeed, NULL)) |