diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 6616269..7486a90 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -10,9 +10,7 @@ var commands = function(dbot) { channel = event.input[1], quietee = event.input[2]; - console.log(event.input); - - if(!channel) { + if(_.isUndefined(channel)) { channel = event.channel.name; }