summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar fragonib <devnull@localhost> 2011-02-12 17:23:04 +0100
committerGravatar fragonib <devnull@localhost> 2011-02-12 17:23:04 +0100
commit40fc2dda96f78a737bb8b7e17d69cec5ccdffa89 (patch)
tree7f257d63810ff34528bc854b18ff0466d5bfba74 /module/plugins/Plugin.py
parentxdcc fixes (diff)
downloadpyload-40fc2dda96f78a737bb8b7e17d69cec5ccdffa89.tar.xz
FileserveCom: Fixes download check
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)