rem: chan = client.currentObject; chan.userlistSelection = getSelectedNicknames(node, chan); 
add: reSortUserlist(client.currentObject); 
context: function updateUserList(){    var node, chan;    node = document.getElementById("user-list");    if (!node.view)        return;    // We'll lose the selection in a bit, if we don't save it if necessary:    if (("currentObject" in client) && client.currentObject &&        client.currentObject.TYPE == "IRCChannel")    {        chan = client.currentObject;        chan.userlistSelection = getSelectedNicknames(node, chan);    }    reSortUserlist(node);    // If this is a channel, restore the selection in the userlist.    if (chan)        setSelectedNicknames(node, client.currentObject.userlistSelection);}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1622/c42ddd634fe755d5b21122300c099405ed7a30d6/static.js/buggy/xul/content/static.js