diff options
| author | Jeff Garzik <[email protected]> | 2014-06-04 15:00:38 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2014-06-04 15:00:38 -0400 |
| commit | c79897af319e01d0c84f970206747e320e246418 (patch) | |
| tree | 6ce65bc71e46c1ef23c339d83be9c42e32514ade /src/init.cpp | |
| parent | Merge pull request #4258 (diff) | |
| parent | rename fNoListen to fListen and move to net (diff) | |
| download | discoin-c79897af319e01d0c84f970206747e320e246418.tar.xz discoin-c79897af319e01d0c84f970206747e320e246418.zip | |
Merge pull request #4247 from Diapolo/listen
rename fNoListen to fListen and move to net
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index 3255f5bf1..6a21dee63 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -733,12 +733,12 @@ bool AppInit2(boost::thread_group& threadGroup) } // see Step 2: parameter interactions for more information about these - fNoListen = !GetBoolArg("-listen", true); + fListen = GetBoolArg("-listen", true); fDiscover = GetBoolArg("-discover", true); fNameLookup = GetBoolArg("-dns", true); bool fBound = false; - if (!fNoListen) { + if (fListen) { if (mapArgs.count("-bind")) { BOOST_FOREACH(std::string strBind, mapMultiArgs["-bind"]) { CService addrBind; |