rem: (!filename || matchNames(this.files[k].fileName, f)) && 
add: (!filename || matchNames(this.files[k].filename, f)) && 
context: function dcc_getmatches(nickname, filename, types, dirs, states){    function matchNames(name, otherName)    {        return ((name.match(new RegExp(otherName, "i"))) ||                (name.toLowerCase().indexOf(otherName.toLowerCase()) != -1));    };    var k;    var list = new Array();    if (!types)        types = ["chat", "file"];    var n = nickname;    var f = filename;    if (arrayIndexOf(types, "chat") >= 0)    {        for (k = 0; k < this.chats.length; k++)        {            if ((!nickname || matchNames(this.chats[k].user.unicodeName, n)) &&                (!dirs || arrayIndexOf(dirs, this.chats[k].state.dir) >= 0) &&                (!states || arrayIndexOf(states, this.chats[k].state.state) >= 0))            {                list.push(this.chats[k]);            }        }    }    if (arrayIndexOf(types, "file") >= 0)    {        for (k = 0; k < this.files.length; k++)        {            if ((!nickname || matchNames(this.files[k].user.unicodeName, n)) &&                (!filename || matchNames(this.files[k].fileName, f)) &&                (!dirs || arrayIndexOf(dirs, this.files[k].state.dir) >= 0) &&                (!states || arrayIndexOf(states, this.files[k].state.state) >= 0))            {                list.push(this.files[k]);            }        }    }    return list;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/8e50f57c4e7184f682ba45639563e28f74ed13e5/dcc.js/clean/js/lib/dcc.js