diff --git a/modules/report/api.js b/modules/report/api.js index 6586853..7cb78a1 100644 --- a/modules/report/api.js +++ b/modules/report/api.js @@ -53,7 +53,7 @@ var api = function(dbot) { this.pending[op.id].push({ 'time': new Date().getTime(), 'channel': cName, - 'user': op.id, + 'user': user.id, 'message': message }); this.pNotify[op.id] = true;