String.replace needs a second arg...

This commit is contained in:
Kris Maglione committed 2008-12-07 12:03:48 -05:00
1 parent f10a9e1650
commit 5a27b84503
1 file changed
+1 -1
+1 -1
View File
@@ -852,7 +852,7 @@ const liberator = (function () //{{{
if (err)
return liberator.echoerr(err);
commandline.command = str.replace(/^\s*:\s*/);
commandline.command = str.replace(/^\s*:\s*/, "");
command.execute(args, special, count, modifiers);
},