Permalink
Browse files

karma: [recipients]bad setting was being ignored

  • Loading branch information...
1 parent 6dfd506 commit a3ee57fa33004792c4564e18c3424cf3cf7d7d45 @msimerson msimerson committed May 16, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugins/karma.js
View
@@ -688,6 +688,7 @@ exports.max_recipients = function (connection) {
var score = connection.results.get('karma').connect;
if (score > 3 && count <= plugin.cfg.recipients.good) return;
if (score >= 0 && count <= plugin.cfg.recipients.neutral) return;
+ if (count <= plugin.cfg.recipients.bad) return;
return 'too many recipients (' + count + ') for ' + desc + ' karma';
};

0 comments on commit a3ee57f

Please sign in to comment.