rem: net.lastWhoCheckTime = Date.now(); 
add: net.lastWhoCheckTime = Number(new Date()); 
context: function onWhoTimeout(){    function checkWho()    {        var checkNext = (net.lastWhoCheckChannel == null);        for (var c in net.primServ.channels)        {            var chan = net.primServ.channels[c];            if (checkNext && chan.active &&                chan.getUsersLength() < client.prefs["autoAwayCap"])            {                net.primServ.LIGHTWEIGHT_WHO = true;                net.primServ.sendData("WHO " + chan.encodedName + "\n");                net.lastWhoCheckChannel = chan;                net.lastWhoCheckTime = Date.now();                return;            }            if (chan == net.lastWhoCheckChannel)                checkNext = true;        }        if (net.lastWhoCheckChannel)        {            net.lastWhoCheckChannel = null;            checkWho();        }    };    for (var n in client.networks)    {        var net = client.networks[n];        var period = net.prefs["autoAwayPeriod"];        // The time since the last check, with a 5s error margin to        // stop us from not checking because the timer fired a tad early:        var waited = Date.now() - net.lastWhoCheckTime + 5000;        if (net.isConnected() && (period != 0) && (period * 60000 < waited))            checkWho();    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/889b1142f2577195bcfbd94ed81ee1ed6a70d781/handlers.js/clean/extensions/irc/xul/content/handlers.js