Permalink
Browse files

Fix inability to blacklist ‘error’ level messages.

  • Loading branch information...
1 parent f1717ba commit bcf518bec2ba84a430dd7b23caea32d6b1a5d01c @roark roark committed Nov 6, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/common/filter.js
@@ -40,7 +40,7 @@ Filter.prototype.test = function(name, level) {
if(this._white[i] && test(this._white[i], name) && levelMap[level] >= this._white[i].l) {
return true;
}
- if(this._black[i] && test(this._black[i], name) && levelMap[level] < this._black[i].l) {
+ if(this._black[i] && test(this._black[i], name) && levelMap[level] <= this._black[i].l) {
return false;
}
}

0 comments on commit bcf518b

Please sign in to comment.