diff --git a/modules/command/api.js b/modules/command/api.js index 3f3ae3d..da718d3 100644 --- a/modules/command/api.js +++ b/modules/command/api.js @@ -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;