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…
Reference in New Issue