forked from GitHub/dbot
curr chan ban
This commit is contained in:
parent
7b3489225c
commit
70040a0ed3
@ -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]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user