From 0384a45bf778d97a480c61f3a5f598bd8c4f4681 Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 21 Apr 2015 23:40:45 +0000 Subject: [PATCH] hmm --- modules/report/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/report/api.js b/modules/report/api.js index cba5779..557d752 100644 --- a/modules/report/api.js +++ b/modules/report/api.js @@ -56,7 +56,7 @@ console.log('removing ' + uPart); } var offlineOps = {}; - async.each(ops, function(op, done) { + async.eachSeries(ops, function(op, done) { dbot.api.users.isOnline(server, cName, op, function(err, user, online) { if(user) { if(!err && !online) offlineOps[op] = user; @@ -93,7 +93,7 @@ console.log('removing ' + uPart); }.bind(this)); }.bind(this)); }.bind(this)); - } else { + } else { // no atheme var channel = dbot.instance.connections[server].channels[cName]; var ops = _.filter(channel.nicks, function(user) { if(this.config.notifyVoice) {