From 9f6b8c2f605af7297da91ed9ef849c9b990230c2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 30 Apr 2020 23:59:33 -0700 Subject: [PATCH] Fix issue where shift-click on Quick Reply submit to bypass warning did not use captcha when posting. --- 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 1a1562857..48ca1077e 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -684,7 +684,7 @@ QR = if g.BOARD.ID is 'r9k' and !post.com?.match(/[a-z-]/i) err or= 'Original comment required.' - if QR.captcha.isEnabled and !(/\b_ct=/.test(d.cookie) and threadID) and !err + if QR.captcha.isEnabled and !(/\b_ct=/.test(d.cookie) and threadID) and !(err and !force) captcha = QR.captcha.getOne(!!threadID) or Captcha.cache.request(!!threadID) unless captcha err = 'No valid captcha.'