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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/command-manager.js/clean/extensions/irc/js/lib/command-manager.js