diff --git a/modules/report/report.js b/modules/report/report.js index 0ee1d38..7245fb9 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -88,11 +88,11 @@ var report = function(dbot) { }); }, function() { offlineUsers = perOps; - console.log(offlineUsers); _.each(offlineUsers, function(id) { if(!this.pending[id]) this.pending[id] = []; this.pending[id].push({ 'time': new Date().getTime(), + 'channel': cName, 'message': message }); this.pNotify[id] = true; diff --git a/views/report/missing_notifies.jade b/views/report/missing_notifies.jade index c21181c..d41a035 100644 --- a/views/report/missing_notifies.jade +++ b/views/report/missing_notifies.jade @@ -11,9 +11,11 @@ block content thead tr th Date + th Channel th Message tbody each notify in notifies tr td #{notify.time} + td #{notify.channel} td #{notify.message}