forked from GitHub/dbot
fix getChannel references
This commit is contained in:
parent
152db6995f
commit
de8285e199
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user