mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
Reset IP Filter when disabling blocklist plugin
This commit is contained in:
parent
64e8a34940
commit
5ed244cad6
@ -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…
x
Reference in New Issue
Block a user