From fdd3187c82170be0236cd026d2febddfc18787eb Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 25 Aug 2013 22:22:02 +0000 Subject: [PATCH] idfk --- modules/report/report.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/report/report.js b/modules/report/report.js index 17e7b71..d158335 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -10,12 +10,13 @@ var report = function(dbot) { this.internalAPI = { 'notify': function(server, users, message) { + console.log('called notify'); var count = 0; async.eachSeries(users, function(nick, next) { - count++; - console.log(nick + ' ' + count); setTimeout(function() { - dbot.say(server, nick, message); + count++ + console.log(nick + ' ' + count); + //dbot.say(server, nick, message); next(); }, 1000); });