rem: if (this.TYPE != "IRCChanUser") dd ("** WARNING: cuser.updateGraphResource called on wrong object **"); 
add: if (!ASSERT(this.TYPE == "IRCChanUser", "cuser.updateGraphResource called on wrong object")) { return; } 
context: function usr_updres(){    if (this.TYPE != "IRCChanUser")        dd ("** WARNING: cuser.updateGraphResource called on wrong object **");    if (!("rdfRes" in this))        this.getGraphResource();        var rdf = client.rdf;        rdf.Change (this.rdfRes, rdf.resNick, rdf.GetLiteral(this.properNick));    if (this.name)        rdf.Change (this.rdfRes, rdf.resUser, rdf.GetLiteral(this.name));    else        rdf.Change (this.rdfRes, rdf.resUser, rdf.litUnk);    if (this.host)        rdf.Change (this.rdfRes, rdf.resHost, rdf.GetLiteral(this.host));    else        rdf.Change (this.rdfRes, rdf.resHost, rdf.litUnk);        rdf.Change (this.rdfRes, rdf.resOp,                 this.isOp ? rdf.litTrue : rdf.litFalse);    rdf.Change (this.rdfRes, rdf.resVoice,                this.isVoice ? rdf.litTrue : rdf.litFalse);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fa359690d17fc0358c5ed06036e22e12abc609c5/static.js/clean/extensions/irc/xul/content/static.js