From 0f90f432538ae73bbc975e6b801a3c3bb60c91b8 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 8 Aug 2011 16:03:24 +0200 Subject: disabled GUI, fix captcha --- module/plugins/hooks/IRCInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hooks/IRCInterface.py') diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py index 28087a126..e2737dc3a 100644 --- a/module/plugins/hooks/IRCInterface.py +++ b/module/plugins/hooks/IRCInterface.py @@ -89,7 +89,7 @@ class IRCInterface(Thread, Hook): page = getURL("http://www.freeimagehosting.net/upload.php", post={"attached" : (FORM_FILE, task.captchaFile)}, multipart=True) - url = re.search(r"\[url=http://www.freeimagehosting.net/\]\[img\]([^\[]+)\[/img\]\[/url\]", page).group(1) + url = re.search(r"\[img\]([^\[]+)\[/img\]\[/url\]", page).group(1) self.response(_("New Captcha Request: %s") % url) self.response(_("Answer with 'c %s text on the captcha'") % task.id) -- cgit v1.2.3