diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 91bb17b..d0eb4aa 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -116,7 +116,7 @@ var commands = function(dbot) { banee = event.input[2], reason = event.input[3], adminChannel = dbot.config.servers[server].admin_channel, - channels = _.keys(dbot.instance.connections.[server].channels), + channels = _.keys(dbot.instance.connections[server].channels), network = event.server; if(this.config.network_name[event.server]) {