From 1881bcea6848be24b8f30172fd91070eaf8e174c Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Thu, 21 Sep 2017 18:18:42 +0200 Subject: [PATCH] Don't connect on first start until approved --- src/network/connectionpool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/network/connectionpool.py b/src/network/connectionpool.py index 1026d305..3a7f9e6d 100644 --- a/src/network/connectionpool.py +++ b/src/network/connectionpool.py @@ -141,9 +141,7 @@ class BMConnectionPool(object): acceptConnections = True if BMConfigParser().safeGetBoolean('bitmessagesettings', 'dontconnect'): acceptConnections = False - else: - spawnConnections = True - if BMConfigParser().safeGetBoolean('bitmessagesettings', 'sendoutgoingconnections'): + elif BMConfigParser().safeGetBoolean('bitmessagesettings', 'sendoutgoingconnections'): spawnConnections = True if BMConfigParser().get('bitmessagesettings', 'socksproxytype')[0:5] == 'SOCKS' and \ (not BMConfigParser().getboolean('bitmessagesettings', 'sockslisten') and \