1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:47:59 +01:00

fix -bang user commands regression

This commit is contained in:
Doug Kearns
2008-11-10 13:19:16 +00:00
parent 1463b7cc7a
commit 1de3210214

View File

@@ -717,7 +717,7 @@ function Commands() //{{{
{
let tokens = {
args: this.argCount && args.string,
bang: this.bang && bang ? "!" : "",
bang: this.bang && special ? "!" : "",
count: this.count && count
};
@@ -763,7 +763,7 @@ function Commands() //{{{
{
let filter = {
argCount: args["-nargs"],
bang: "-bang" in args && true,
bang: "-bang" in args && true, // XXX: ???
count: args["-count"]
};
let cmds = getMatchingUserCommands(cmd, filter);