Permalink
Browse files

karma: fix typo s/threshold/thresholds/

  • Loading branch information...
msimerson committed Feb 7, 2014
1 parent abbd0c8 commit df136a652d2943bf85409f813c30ad314321490d
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/karma.js
View
@@ -206,7 +206,7 @@ exports.karma_onDisconnect = function (next, connection) {
var key = 'karma|' + connection.remote_ip;
var history = k.history;
- if (config.threshold) {
+ if (config.thresholds) {
var pos_lim = config.thresholds.positive || 2;
if (k.connection > pos_lim) {

0 comments on commit df136a6

Please sign in to comment.