3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

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;
_.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;