Fix a bug Arthur reported -- if you didn't configure for inbound connections,

outbound peer and secure websocket connections wouldn't work.
This commit is contained in:
JoelKatz
2013-02-03 23:03:14 -08:00
parent b94c91fb9c
commit c6aac0f9af
2 changed files with 6 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ void Application::setup()
//
// Allow peer connections.
//
if (!theConfig.RUN_STANDALONE && !theConfig.PEER_IP.empty() && theConfig.PEER_PORT)
if (!theConfig.RUN_STANDALONE)
{
try
{