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;
|
||||
event.input = q;
|
||||
}
|
||||
} else if {
|
||||
} else {
|
||||
var q = event.message.match(cRegex);
|
||||
if(q) {
|
||||
applies = true;
|
||||
event.input = q;
|
||||
]
|
||||
}
|
||||
}
|
||||
} else {
|
||||
applies = true;
|
||||
|
Loading…
Reference in New Issue
Block a user