diff --git a/modules/users/api.js b/modules/users/api.js index 56fd209..3ef59be 100644 --- a/modules/users/api.js +++ b/modules/users/api.js @@ -43,6 +43,7 @@ var api = function(dbot) { 'getAllUsers': function() { return _.reduce(dbot.db.knownUsers, function(memo, server, name) { memo[name] = server.users; + return memo; }, {}, this); },