rem: chan = o.channel.name; l = (o.channel.mode.limit != -1) ? o.channel.mode.limit : "(none)"; k = o.channel.mode.key ? o.channel.mode.key : "(none)"; 
context: function updateChannel (obj){    if (obj && obj != client.currentObject)        return;        var o = new Object();    getObjectDetails (client.currentObject, o);    var chan = "(none)", l = "(none)", k = "(none)", mode = "(none)",        users = 0, topicBy = "(nobody)", topic = "(unknown)";    if (o.channel)    {        chan = o.channel.name;        l = (o.channel.mode.limit != -1) ? o.channel.mode.limit : "(none)";        k = o.channel.mode.key ? o.channel.mode.key : "(none)";        mode = o.channel.mode.getModeStr();        if (!mode)            mode = "(none)";        users = o.channel.getUsersLength();        topic = o.channel.topic ? o.channel.topic : "(none)";        topicBy = o.channel.topicBy ? o.channel.topicBy : "(nobody)";    }        client.statusBar["channel-name"].setAttribute("value", chan);    client.statusBar["channel-limit"].setAttribute("value", l);    client.statusBar["channel-key"].setAttribute("value", k);    client.statusBar["channel-mode"].setAttribute("value", mode);    client.statusBar["channel-users"].setAttribute("value", users);    client.statusBar["channel-topic"].setAttribute("value", topic);    client.statusBar["channel-topicby"].setAttribute("value", topicBy);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/buggy/extensions/irc/xul/content/static.js