From 9705f308fd60aef95c9329b78456c32c903be327 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 16 Oct 2014 16:08:58 +0000 Subject: [PATCH] fix wordusers --- modules/sstats/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sstats/commands.js b/modules/sstats/commands.js index fb61f1e..356eab3 100644 --- a/modules/sstats/commands.js +++ b/modules/sstats/commands.js @@ -213,7 +213,7 @@ var commands = function(dbot) { .value(); async.eachSeries(pCounts, function(pCount, next) { - dbot.api.users.getUser(pCount[0], function(user) { + dbot.api.users.getUser(pCount[0], function(err, user) { pCount[0] = user.primaryNick; next(); }); }, function() {