From 5379dc3d7fafcfad1ea148a3af8b020c8791014a Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Tue, 29 Nov 2011 13:28:22 +0000 Subject: [PATCH] total quote count --- modules/quotes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/quotes.js b/modules/quotes.js index 922ac31..640d078 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -92,6 +92,7 @@ var quotes = function(dbot) { } else { // Give total quote count var totalQuoteCount = 0; for(var category in quotes) { + console.log('adding ' + category.length); totalQuoteCount += category.length; } dbot.say(data.channel, 'There are ' + totalQuoteCount + ' quotes in total.');