Don't connect on first start until approved
This commit is contained in:
parent
0150a35dd4
commit
1881bcea68
|
@ -141,9 +141,7 @@ class BMConnectionPool(object):
|
||||||
acceptConnections = True
|
acceptConnections = True
|
||||||
if BMConfigParser().safeGetBoolean('bitmessagesettings', 'dontconnect'):
|
if BMConfigParser().safeGetBoolean('bitmessagesettings', 'dontconnect'):
|
||||||
acceptConnections = False
|
acceptConnections = False
|
||||||
else:
|
elif BMConfigParser().safeGetBoolean('bitmessagesettings', 'sendoutgoingconnections'):
|
||||||
spawnConnections = True
|
|
||||||
if BMConfigParser().safeGetBoolean('bitmessagesettings', 'sendoutgoingconnections'):
|
|
||||||
spawnConnections = True
|
spawnConnections = True
|
||||||
if BMConfigParser().get('bitmessagesettings', 'socksproxytype')[0:5] == 'SOCKS' and \
|
if BMConfigParser().get('bitmessagesettings', 'socksproxytype')[0:5] == 'SOCKS' and \
|
||||||
(not BMConfigParser().getboolean('bitmessagesettings', 'sockslisten') and \
|
(not BMConfigParser().getboolean('bitmessagesettings', 'sockslisten') and \
|
||||||
|
|
Reference in New Issue
Block a user