diff options
author | fragonib <devnull@localhost> | 2011-02-12 17:23:04 +0100 |
---|---|---|
committer | fragonib <devnull@localhost> | 2011-02-12 17:23:04 +0100 |
commit | 40fc2dda96f78a737bb8b7e17d69cec5ccdffa89 (patch) | |
tree | 7f257d63810ff34528bc854b18ff0466d5bfba74 /module/plugins/Plugin.py | |
parent | xdcc fixes (diff) | |
download | pyload-40fc2dda96f78a737bb8b7e17d69cec5ccdffa89.tar.xz |
FileserveCom: Fixes download check
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
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) |