forked from GitHub/dbot
reality is a dumbass
This commit is contained in:
parent
e11893c0ef
commit
e1fe601269
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user