disable ip address leak when downloading geoip db in tor-only mode

This commit is contained in:
caryoscelus 2022-09-19 19:57:16 +00:00
parent 494f9b922d
commit 350cd8ce67

View file

@ -593,7 +593,7 @@ class UiWebsocketPlugin(object):
import shutil
from util import helper
if config.offline:
if config.offline or config.tor == 'always':
return False
self.log.info("Downloading GeoLite2 City database...")