Don't connect on first start until approved

This commit is contained in:
Peter Šurda 2017-09-21 18:18:42 +02:00
parent 0150a35dd4
commit 1881bcea68
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -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 \