From b51f24006145368a26c2fa9ba8d4b630217dfa9f Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 14 Apr 2013 14:29:14 +0000 Subject: [PATCH] Fix broken syntax in command changes [#359] --- modules/command/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;