rem: if (this.TYPE != "IRCChanUser") dd ("** WARNING: cuser.getGraphResource called on wrong object **"); 
add: if (!ASSERT(this.TYPE == "IRCChanUser", "cuser.getGraphResource called on wrong object")) { return null; } 
context: function usr_graphres(){    if (this.TYPE != "IRCChanUser")        dd ("** WARNING: cuser.getGraphResource called on wrong object **");        var rdf = client.rdf;        if (!("rdfRes" in this))    {        if (!("nextResID" in CIRCUser))            CIRCUser.nextResID = 0;                this.rdfRes = rdf.GetResource (RES_PFX + "CUSER:" +                                        this.parent.parent.parent.name + ":" +                                       escape(this.parent.name) + ":" +                                       CIRCUser.nextResID++);            //dd ("created cuser resource " + this.rdfRes.Value);                rdf.Assert (this.rdfRes, rdf.resNick, rdf.GetLiteral(this.properNick));        if (this.name)            rdf.Assert (this.rdfRes, rdf.resUser, rdf.GetLiteral(this.name));        else            rdf.Assert (this.rdfRes, rdf.resUser, rdf.litUnk);        if (this.host)            rdf.Assert (this.rdfRes, rdf.resHost, rdf.GetLiteral(this.host));        else            rdf.Assert (this.rdfRes, rdf.resHost, rdf.litUnk);        rdf.Assert (this.rdfRes, rdf.resOp,                     this.isOp ? rdf.litTrue : rdf.litFalse);        rdf.Assert (this.rdfRes, rdf.resVoice,                    this.isVoice ? rdf.litTrue : rdf.litFalse);    }    return this.rdfRes;}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/ec1f57a2df47ea77b6ce245c6e2bd99b25d52195/static.js/clean/xul/content/static.js