summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSHoster.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py
index ef71e944b..d61b70e1a 100644
--- a/module/plugins/internal/XFSHoster.py
+++ b/module/plugins/internal/XFSHoster.py
@@ -204,7 +204,8 @@ class XFSHoster(SimpleHoster):
wait_time = parse_time(waitmsg)
self.set_wait(wait_time)
self.set_reconnect(False)
- self.handle_captcha(inputs)
+ if wait_time < self.config.get('max_wait', 10) * 60:
+ self.handle_captcha(inputs)
self.wait()
else:
inputs['referer'] = self.pyfile.url