From e1fe601269b074b9fec6aa06675304c45f3f0aa2 Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 1 Jul 2013 17:24:05 +0000 Subject: [PATCH] reality is a dumbass --- modules/kick/commands.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }