summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 54900422c..e59977451 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -393,8 +393,8 @@ class Plugin(object):
if delete:
remove(self.lastDownload)
return name
- elif hasattr(rule, "match"):
- m = rule.match(content)
+ elif hasattr(rule, "search"):
+ m = rule.search(content)
if m:
if delete:
remove(self.lastDownload)