diff options
| author | Pieter Wuille <[email protected]> | 2012-06-17 17:07:08 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-06-17 17:07:08 -0700 |
| commit | 432d28d3bb02de3f5bafe419ab8e1f89a0a3d0ba (patch) | |
| tree | 49092e9c6280c950c920ae94395781d28e019b2f /src/init.cpp | |
| parent | Merge pull request #1434 from Diapolo/GUI_fix_displayunit (diff) | |
| parent | Fix inverted logic for !Discover/!UPNP when !Listen. (diff) | |
| download | discoin-432d28d3bb02de3f5bafe419ab8e1f89a0a3d0ba.tar.xz discoin-432d28d3bb02de3f5bafe419ab8e1f89a0a3d0ba.zip | |
Merge pull request #1477 from gmaxwell/master
Fix inverted logic for !Discover/!UPNP when !Listen.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 08b594f56..4ab7bdc42 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -344,7 +344,7 @@ bool AppInit2() SoftSetBoolArg("-listen", false); } - if (GetBoolArg("-listen", true)) { + if (!GetBoolArg("-listen", true)) { // do not map ports or try to retrieve public IP when not listening (pointless) SoftSetBoolArg("-upnp", false); SoftSetBoolArg("-discover", false); |