aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-05-24 19:02:21 +0200
committerPieter Wuille <[email protected]>2012-05-31 18:12:35 +0200
commit587f929c6462698a674fe8add2f301161219d05a (patch)
tree1a1f3dde2af5e4fe19a66d692df94e8b223560db /src/main.cpp
parentMerge pull request #1403 from Diapolo/translation_master_file (diff)
downloaddiscoin-587f929c6462698a674fe8add2f301161219d05a.tar.xz
discoin-587f929c6462698a674fe8add2f301161219d05a.zip
Rework network config settings
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 981de6265..50a740d16 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2377,7 +2377,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
if (!pfrom->fInbound)
{
// Advertise our address
- if (!fNoListen && !fUseProxy && !IsInitialBlockDownload())
+ if (!fNoListen && !IsInitialBlockDownload())
{
CAddress addr = GetLocalAddress(&pfrom->addr);
if (addr.IsRoutable())
@@ -3035,7 +3035,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
pnode->setAddrKnown.clear();
// Rebroadcast our address
- if (!fNoListen && !fUseProxy)
+ if (!fNoListen)
{
CAddress addr = GetLocalAddress(&pnode->addr);
if (addr.IsRoutable())