rem: display(getMsg(MSG_ERR_UNKNOWN_USER, e.nicknameList[i]), MT_ERROR); 
add: display(getMsg(MSG_ERR_UNKNOWN_USER, e.nickname), MT_ERROR); 
context: function cmdChanUserMode(e){    var modestr;    switch (e.command.name)    {        case "op":            modestr = "+oooo";            break;        case "deop":            modestr = "-oooo";            break;        case "hop":            modestr = "+hhhh";            break;        case "dehop":            modestr = "-hhhh";            break;        case "voice":            modestr = "+vvvv";            break;        case "devoice":            modestr = "-vvvv";            break;        default:            ASSERT(0, "Dispatch from unknown name " + e.command.name);            return;    }    var nicks;    // Prefer pre-canonicalised list, then a normal list, then finally a    // sigular item (canon. or otherwise).    if (e.canonNickList)    {        nicks = combineNicks(e.canonNickList);    }    else if (e.nicknameList)    {        var nickList = new Array();        for (i = 0; i < e.nicknameList.length; i++)        {            var user = e.channel.getUser(e.nicknameList[i]);            if (!user)            {                display(getMsg(MSG_ERR_UNKNOWN_USER, e.nicknameList[i]), MT_ERROR);                return;            }            nickList.push(user.encodedName);        }        nicks = combineNicks(nickList);    }    else if (e.nickname)    {        user = e.channel.getUser(e.nickname);        if (!user)        {            display(getMsg(MSG_ERR_UNKNOWN_USER, e.nicknameList[i]), MT_ERROR);            return;        }        var str = new String(user.encodedName);        str.count = 1;        nicks = [str];    }    else    {        // Panic?        dd("Help! Channel user mode command with no users...?");    }    for (var i = 0; i < nicks.length; ++i)    {        e.server.sendData("MODE " + e.channel.encodedName + " " +                          modestr.substr(0, nicks[i].count + 1) +                          " " + nicks[i] + "\n");    }}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/0b3cd684d8e773fa4e14a6cb4fdebaacfa65a4eb/commands.js/buggy/xul/content/commands.js