diff --git a/modules/report/report.js b/modules/report/report.js index 5e2eef2..4f939d6 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -19,7 +19,7 @@ var report = function(dbot) { } }, this); - dbot.api.users.getChannel(server, channel, function(channel) { + dbot.api.users.resolveChannel(server, channel, function(channel) { if(channel) { var perOps = channel.op; if(this.config.notifyVoice) pOps = _.union(perOps, channel.voice);