Fix wait error regex
There are 2 spaces separating the number of seconds.
This commit is contained in:
parent
d991e6e0cb
commit
8c3e46d23b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user