Fix issue #659, and cleanup wallet/command-line argument handling a bit
[novacoin.git] / src / net.cpp
index c204cb2..6dab7e8 100644 (file)
@@ -1471,7 +1471,7 @@ void ThreadOpenConnections2(void* parg)
         {
             // Add seed nodes if IRC isn't working
             bool fTOR = (fUseProxy && addrProxy.port == htons(9050));
-            if (mapAddresses.empty() && (GetTime() - nStart > 60 || fTOR) && !fTestNet)
+            if (mapAddresses.empty() && (GetTime() - nStart > 60 || fUseProxy) && !fTestNet)
                 fAddSeeds = true;
         }