rem: anchor.setAttribute ("href", client.prefs["bugURL"].replace("%s", number)); 
add:  var bugURL; if (eventData.channel) bugURL = eventData.channel.prefs["bugURL"]; else if (eventData.network) bugURL = eventData.network.prefs["bugURL"]; else bugURL = client.prefs["bugURL"];  anchor.setAttribute ("href", bugURL.replace("%s", number)); 
context: function insertBugzillaLink (matchText, containerTag){    var number = matchText.match (/(\d+)/)[1];    var anchor = document.createElementNS ("http://www.w3.org/1999/xhtml",                                           "html:a");    anchor.setAttribute ("href", client.prefs["bugURL"].replace("%s", number));    anchor.setAttribute ("class", "chatzilla-link");    anchor.setAttribute ("target", "_content");    insertHyphenatedWord (matchText, anchor);    containerTag.appendChild (anchor);}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/ddedc0ba26cc8589ada3284f2f9efa18c02db30f/static.js/clean/xul/content/static.js