From 8c3e46d23b0de5aeb85e4dc6b1a5346abd298639 Mon Sep 17 00:00:00 2001 From: AchtBit Date: Fri, 17 Jan 2014 00:33:43 -0600 Subject: [PATCH] Fix wait error regex There are 2 spaces separating the number of seconds. --- src/Posting/QR.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 24209cf08..2eed475ff 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -547,7 +547,7 @@ QR = # Too many frequent mistyped captchas will auto-ban you! # On connection error, the post most likely didn't go through. QR.cooldown.set delay: 2 - else if err.textContent and m = err.textContent.match /wait\s(\d+)\ssecond/i + else if err.textContent and m = err.textContent.match /wait\s+(\d+)\s+second/i QR.cooldown.auto = if QR.captcha.isEnabled !!QR.captcha.captchas.length else