lowercase the whatist

This commit is contained in:
reality 2013-10-17 04:15:12 +00:00
parent 2cd538e1eb
commit 1f3dd159b3

View File

@ -23,7 +23,7 @@ var sstats = function(dbot) {
curses = 0; curses = 0;
_.each(words, function(word) { _.each(words, function(word) {
if(this.isUpperCase(word)) capitals++; if(this.isUpperCase(word)) capitals++;
if(_.include(this.config.curses, word)) curses++; if(_.include(this.config.curses, word.toLowerCase())) curses++;
}, this); }, this);
event.uStats.words += wCount; event.uStats.words += wCount;