rem: var ary; ary = client.commandManager.list (e.pattern, CMD_CONSOLE); 
add: if (!e.pattern) { if ("hello" in e) display(MSG_HELP_INTRO, "HELLO"); else display(MSG_HELP_INTRO); return; }  var ary = client.commandManager.list(e.pattern, CMD_CONSOLE); 
context: function cmdHelp (e){    var ary;    ary = client.commandManager.list (e.pattern, CMD_CONSOLE);    if (ary.length == 0)    {        display (getMsg(MSG_ERR_NO_COMMAND, e.pattern), MT_ERROR);        return false;    }    for (var i in ary)    {        display (getMsg(MSG_FMT_USAGE, [ary[i].name, ary[i].usage]), MT_USAGE);        display (ary[i].help, MT_HELP);    }    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bfc426c39d3b33c7b061f23eacc1b96158d8bc8f/commands.js/buggy/extensions/irc/xul/content/commands.js