Merge pull request #169 from zeronet-conservancy/disable_geoip_leak
disable ip address leak when downloading geoip db in tor-only mode
This commit is contained in:
commit
ed8c7a8f12
1 changed files with 1 additions and 1 deletions
|
@ -593,7 +593,7 @@ class UiWebsocketPlugin(object):
|
||||||
import shutil
|
import shutil
|
||||||
from util import helper
|
from util import helper
|
||||||
|
|
||||||
if config.offline:
|
if config.offline or config.tor == 'always':
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.log.info("Downloading GeoLite2 City database...")
|
self.log.info("Downloading GeoLite2 City database...")
|
||||||
|
|
Loading…
Reference in a new issue