rem:  return cmdNames.sort(); 
add:  return (cmdNames.length > 0) ? cmdNames.sort() : []; 
context: function cmgr_listnames (partialName){    var cmds = this.list(partialName);    var cmdNames = new Array();        for (var c in cmds)        cmdNames.push (cmds[c].name);    return cmdNames.sort();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0d1a83beabf85d1bbf715013aa931f56c2bfb948/command-manager.js/buggy/extensions/irc/js/lib/command-manager.js