fix getChannel references

This commit is contained in:
reality 2013-08-17 19:07:48 +00:00
parent 152db6995f
commit de8285e199

View File

@ -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);