reality is a dumbass

This commit is contained in:
reality 2013-07-01 17:24:05 +00:00
parent e11893c0ef
commit e1fe601269

View File

@ -10,9 +10,7 @@ var commands = function(dbot) {
channel = event.input[1], channel = event.input[1],
quietee = event.input[2]; quietee = event.input[2];
console.log(event.input); if(_.isUndefined(channel)) {
if(!channel) {
channel = event.channel.name; channel = event.channel.name;
} }