diff --git a/src/core.py b/src/core.py index 0e91b2eb5..d31e70a12 100644 --- a/src/core.py +++ b/src/core.py @@ -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):