Remove silly guard clause from addCommand.

This commit is contained in:
Doug Kearns
2009-05-24 23:32:05 +10:00
parent ce120a7f9d
commit 73759f78f8
-3
View File
@@ -372,9 +372,6 @@ function Commands() //{{{
function addCommand(command, isUserCommand, replace)
{
if (!command) // XXX
return false;
if (exCommands.some(function (c) c.hasName(command.name)))
{
if (isUserCommand && replace)