From de8285e19990ec117614c27cb6338cbafa1dfbb3 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 17 Aug 2013 19:07:48 +0000 Subject: [PATCH] fix getChannel references --- modules/report/report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);