No opened services if we are in tor always mode
This commit is contained in:
parent
248fc5f015
commit
8a7ae368d8
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class SiteAnnouncer(object):
|
||||||
def getOpenedServiceTypes(self):
|
def getOpenedServiceTypes(self):
|
||||||
back = []
|
back = []
|
||||||
# Type of addresses they can reach me
|
# Type of addresses they can reach me
|
||||||
if config.trackers_proxy == "disable":
|
if config.trackers_proxy == "disable" and config.tor != "always":
|
||||||
for ip_type, opened in list(self.site.connection_server.port_opened.items()):
|
for ip_type, opened in list(self.site.connection_server.port_opened.items()):
|
||||||
if opened:
|
if opened:
|
||||||
back.append(ip_type)
|
back.append(ip_type)
|
||||||
|
|
Loading…
Reference in a new issue