curr chan ban

This commit is contained in:
reality 2014-07-21 21:31:04 +00:00
parent 7b3489225c
commit 70040a0ed3

View File

@ -116,7 +116,7 @@ var commands = function(dbot) {
banee = event.input[2], banee = event.input[2],
reason = event.input[3], reason = event.input[3],
adminChannel = dbot.config.servers[server].admin_channel, adminChannel = dbot.config.servers[server].admin_channel,
channels = dbot.config.servers[server].channels, channels = _.keys(dbot.instance.connections.[server].channels),
network = event.server; network = event.server;
if(this.config.network_name[event.server]) { if(this.config.network_name[event.server]) {