rem: if (e.reason) 
add: if ((e.command.name == "away") || (e.command.name == "custom-away")) 
context: function cmdAway(e){    function sendToAllNetworks(reason)    {        for (var n in client.networks)        {            if (client.networks[n].primServ &&                (client.networks[n].state == NET_ONLINE))            {                client.networks[n].dispatch("away", { reason: reason });            }        }    };    if (e.reason)    {        /* going away */        if (e.server)        {            if (e.network.state == NET_ONLINE)            {                if (e.network.prefs["awayNick"])                    e.server.sendData("NICK " + e.network.prefs["awayNick"] + "\n");                e.server.sendData("AWAY :" + fromUnicode(e.reason, e.network) + "\n");            }            e.network.prefs["away"] = e.reason;        }        else        {            // Client view, do command for all networks.            sendToAllNetworks(e.reason);            display(getMsg(MSG_AWAY_ON, e.reason));        }    }    else    {        /* returning */        if (e.server)        {            if (e.network.state == NET_ONLINE)            {                if (e.network.prefs["awayNick"])                    e.server.sendData("NICK " + e.network.prefs["nickname"] + "\n");                e.server.sendData("AWAY\n");            }            e.network.prefs["away"] = "";        }        else        {            // Client view, do command for all networks.            sendToAllNetworks(null);            display(MSG_AWAY_OFF);        }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5937aaa24ffb329d9e279aec48696451b6db149b/commands.js/buggy/extensions/irc/xul/content/commands.js