Prevent posts without comments on /r9k/.
Including quotelink-only comments and other posts that will be rejected as zero-content.
This commit is contained in:
parent
4c378bab75
commit
8ad001f0e5
@ -627,6 +627,9 @@ QR =
|
||||
else if post.file and thread.fileLimit
|
||||
err = 'Max limit of image replies has been reached.'
|
||||
|
||||
if g.BOARD.ID is 'r9k' and !post.com?.match(/[a-z-]/i)
|
||||
err or= 'Original comment required.'
|
||||
|
||||
if QR.captcha.isEnabled and !err
|
||||
captcha = QR.captcha.getOne()
|
||||
err = 'No valid captcha.' unless captcha
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user