mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
Reset IP Filter when disabling blocklist plugin
This commit is contained in:
parent
64e8a34940
commit
5ed244cad6
1 changed files with 4 additions and 2 deletions
|
@ -84,9 +84,11 @@ class Core(CorePluginBase):
|
||||||
self.download_blocklist, True)
|
self.download_blocklist, True)
|
||||||
|
|
||||||
def disable(self):
|
def disable(self):
|
||||||
log.debug('Blocklist: Plugin disabled')
|
log.debug("Reset IP Filter..")
|
||||||
|
component.get("Core").export_reset_ip_filter()
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
log.debug('Blocklist: Plugin disabled')
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue