rem: if ("messages" in this) 
add: if (!("messages" in this)) 
context: function my_cprivmsg (e){    if ("messages" in this)    {        playSounds(client.prefs["queryBeep"]);    }    else    {                playSounds(client.prefs["msgBeep"]);        var limit = client.prefs["newTabLimit"];        if (limit == 0 || client.viewsArray.length < limit)        {            var tab = openQueryTab (e.server, e.user.nick);            if (client.FOCUS_NEW_TAB)                setCurrentObject(tab);        }        }    this.display(e.decodeParam(2), "PRIVMSG", e.user, e.server.me);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7e998d1a2e81d56757ccb1d104bf94e8be456a0d/handlers.js/clean/extensions/irc/xul/content/handlers.js