From 73759f78f842a126bc1afa770d2cd78679d0bfb3 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 24 May 2009 02:39:50 +1000 Subject: [PATCH] Remove silly guard clause from addCommand. --- common/content/commands.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/content/commands.js b/common/content/commands.js index 8e888865..8c7a1f92 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -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)