mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +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,8 +84,10 @@ class Core(CorePluginBase):
|
|||
self.download_blocklist, True)
|
||||
|
||||
def disable(self):
|
||||
log.debug('Blocklist: Plugin disabled')
|
||||
log.debug("Reset IP Filter..")
|
||||
component.get("Core").export_reset_ip_filter()
|
||||
self.config.save()
|
||||
log.debug('Blocklist: Plugin disabled')
|
||||
|
||||
def update(self):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue