From dd35d3ada6a5023c111f1b0d079820a398c667cd Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 30 Jun 2011 00:15:30 +1000 Subject: [PATCH] Fix duplicate plugin command listing in :command output. --- common/modules/commands.jsm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/modules/commands.jsm b/common/modules/commands.jsm index d0ef2455..8280913b 100644 --- a/common/modules/commands.jsm +++ b/common/modules/commands.jsm @@ -673,7 +673,6 @@ var Commands = Module("commands", { template.map(hives, function ([hive, cmds]) let (i = 0) + template.map(cmds, function (cmd) - template.map(cmd.names, function (name) {!i++ ? hive.name : ""} {cmd.bang ? "!" : " "} @@ -682,7 +681,7 @@ var Commands = Module("commands", { {cmd.count ? "0c" : ""} {completerToString(cmd.completer)} {cmd.replacementText || "function () { ... }"} - )) + + ) + ) } ;