Do not start DHT Proxy if DHT is not started
This commit is contained in:
parent
93a0945915
commit
3374b5f50c
|
@ -800,6 +800,8 @@ class Manager:
|
|||
return deluge_core.add_range_to_IP_filter(start, end)
|
||||
|
||||
def proxy_settings(self, server, login, paswd, portnum, proxytype, peerproxy, trackerproxy, dhtproxy):
|
||||
if self.dht_running == False:
|
||||
dhtproxy = False
|
||||
return deluge_core.proxy_settings(server, login, paswd, portnum, proxytype, peerproxy, trackerproxy, dhtproxy)
|
||||
|
||||
def pe_settings(self, out_enc_policy, in_enc_policy, allowed_enc_level, prefer_rc4):
|
||||
|
|
Loading…
Reference in New Issue