diff --git a/modules/sstats/sstats.js b/modules/sstats/sstats.js index 59e1cd2..7aa7771 100644 --- a/modules/sstats/sstats.js +++ b/modules/sstats/sstats.js @@ -23,7 +23,7 @@ var sstats = function(dbot) { curses = 0; _.each(words, function(word) { if(this.isUpperCase(word)) capitals++; - if(_.include(this.config.curses, word)) curses++; + if(_.include(this.config.curses, word.toLowerCase())) curses++; }, this); event.uStats.words += wCount;