From 3ea606d11678751f6fb8402fa15a3e997bd3f092 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Wed, 19 Mar 2014 15:25:40 -0700 Subject: [PATCH] fixes #1975 --- app/models/comment_vote.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/comment_vote.rb b/app/models/comment_vote.rb index d1ac9a764..d0102591f 100644 --- a/app/models/comment_vote.rb +++ b/app/models/comment_vote.rb @@ -35,8 +35,8 @@ class CommentVote < ActiveRecord::Base end def validate_comment_can_be_down_voted - if is_negative? && comment.creator.is_janitor? - errors.add :base, "You cannot downvote a janitor comment" + if is_negative? && comment.creator.is_admin? + errors.add :base, "You cannot downvote an admin comment" false else true