1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:07:59 +01:00

Remove silly guard clause from addCommand.

This commit is contained in:
Doug Kearns
2009-05-24 02:39:50 +10:00
parent ce120a7f9d
commit 73759f78f8

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)