diff --git a/modules/report/pages.js b/modules/report/pages.js index d23f453..2fdc542 100644 --- a/modules/report/pages.js +++ b/modules/report/pages.js @@ -12,7 +12,7 @@ var pages = function(dbot) { '/notify/:server': function(req, res) { var server = req.params.server, userCount = {}, - users = {}; + users = []; this.db.scan('notifies', function(notify) { if(!_.has(userCount, notify.user)) {