lib/cosgrove/upvote_job.rb in cosgrove-0.0.1rc15 vs lib/cosgrove/upvote_job.rb in cosgrove-0.0.1rc16

- old
+ new

@@ -1,10 +1,10 @@ module Cosgrove class UpvoteJob - include Cosgrove::Utils - include Cosgrove::Support - include Cosgrove::Config + include Utils + include Support + include Config def initialize(options = {}) @on_success = options[:on_success] end @@ -71,10 +71,10 @@ elsif (rep = to_rep(post.author_reputation).to_f) < 25.0 puts "Won't vote because rep too low: #{rep}" 'Unable to vote on that.' elsif muted.include? author_name puts "Won't vote because author muted." - 'Unable to vote.' + 'Unable to vote because the author has been muted by the operators.' elsif !root_post && channel_disable_comment_voting(event.channel.id) puts "Won't vote because comment voting is disabled." 'Unable to vote.' elsif !registered 'Unable to vote. Feature resticted to registered users.'