mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +00:00
Expose reset_ip_filter() to plugins.
This commit is contained in:
parent
361a276da4
commit
1f5d9a10c1
@ -146,4 +146,8 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
|
||||
def block_ip_range(self, range):
|
||||
"""Blocks the ip range in the core"""
|
||||
return self.core.export_block_ip_range(range)
|
||||
|
||||
def reset_ip_filter(self):
|
||||
"""Resets the ip filter"""
|
||||
return self.core.export_reset_ip_filter()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user