mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
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…
Reference in New Issue
Block a user