mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Expose reset_ip_filter() to plugins.
This commit is contained in:
parent
361a276da4
commit
1f5d9a10c1
1 changed files with 4 additions and 0 deletions
|
@ -147,3 +147,7 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
|
||||||
"""Blocks the ip range in the core"""
|
"""Blocks the ip range in the core"""
|
||||||
return self.core.export_block_ip_range(range)
|
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…
Add table
Add a link
Reference in a new issue