From dc6f345e25057f39745a6cabd0e735f9f9adf349 Mon Sep 17 00:00:00 2001 From: Toks Date: Tue, 2 Apr 2013 13:33:43 -0400 Subject: [PATCH] allow unlimited non-bumping comments --- app/models/comment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 295104869..defc95abf 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -86,7 +86,7 @@ class Comment < ActiveRecord::Base end def validate_creator_is_not_limited - if creator.is_comment_limited? + if creator.is_comment_limited? && !do_not_bump_post? errors.add(:base, "You can only post #{Danbooru.config.member_comment_limit} comments per hour") false elsif creator.can_comment?