From 054473a3d187369c9ac31a57396ce9e1b7b355ff Mon Sep 17 00:00:00 2001 From: jazzpi Date: Sun, 22 Mar 2015 01:11:01 +0100 Subject: [PATCH] Fix --- lib/command.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/command.coffee b/lib/command.coffee index 136863d..e22566b 100644 --- a/lib/command.coffee +++ b/lib/command.coffee @@ -147,7 +147,7 @@ class Command [m, command, args] = cl.match(/^(\w+)(.*)/) # If the command matches an existing one exactly, execute that one - if func = Ex.singleton()[command]? + if (func = Ex.singleton()[command])? func(range, args) else # Step 8: Match command against existing commands