3
0
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:
reality 2013-04-14 14:29:14 +00:00
parent 5e0f126693
commit b51f240061

View File

@ -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;