rem: if (!client.sound) 
add: if (!client.sound || !client.prefs["sound.enabled"]) 
context: function playEventSounds(type, event){    if (!client.sound)        return;    // Converts .TYPE values into the event object names.    // IRCChannel => channel, IRCUser => user, etc.    if (type.match(/^IRC/))        type = type.substr(3, type.length).toLowerCase();    var ev = type + "." + event;    if (ev in client.soundList)        return;    if (!(("sound." + ev) in client.prefs))        return;    var s = client.prefs["sound." + ev];    if (!s)        return;    if (client.prefs["sound.overlapDelay"] > 0)    {        client.soundList[ev] = true;        setTimeout("delete client.soundList['" + ev + "']",                   client.prefs["sound.overlapDelay"]);    }    if (event == "start")    {        blockEventSounds(type, "event");        blockEventSounds(type, "chat");        blockEventSounds(type, "stalk");    }    playSounds(s);}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/1c8d8bf9357639bb28c9901382136c486c9b6f60/static.js/clean/xul/content/static.js