From 1f5d9a10c1e888b22a0bf969f89e6bfeda1117d9 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 21 Feb 2008 04:20:30 +0000 Subject: [PATCH] Expose reset_ip_filter() to plugins. --- deluge/core/pluginmanager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deluge/core/pluginmanager.py b/deluge/core/pluginmanager.py index 63e3f592f..c34f244b4 100644 --- a/deluge/core/pluginmanager.py +++ b/deluge/core/pluginmanager.py @@ -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()