forked from GitHub/dbot
Fix broken syntax in command changes [#359]
This commit is contained in:
parent
5e0f126693
commit
b51f240061
@ -59,12 +59,12 @@ var api = function(dbot) {
|
|||||||
applies = true;
|
applies = true;
|
||||||
event.input = q;
|
event.input = q;
|
||||||
}
|
}
|
||||||
} else if {
|
} else {
|
||||||
var q = event.message.match(cRegex);
|
var q = event.message.match(cRegex);
|
||||||
if(q) {
|
if(q) {
|
||||||
applies = true;
|
applies = true;
|
||||||
event.input = q;
|
event.input = q;
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
applies = true;
|
applies = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user