rem: if (!e.server.isConnected) 
add: if (e.network.state != NET_ONLINE) 
context: function isCommandSatisfied(e, command){    if (typeof command == "undefined")        command = e.command;    else if (typeof command == "string")        command = this.commands[command];    if (command.flags & CMD_NEED_USER)    {        if (!("user" in e) || !e.user)        {            e.parseError = getMsg(MSG_ERR_NEED_USER, command.name);            return false;        }    }    if (command.flags & CMD_NEED_CHAN)    {        if (!("channel" in e) || !e.channel)        {            e.parseError = getMsg(MSG_ERR_NEED_CHANNEL, command.name);            return false;        }    }    if (command.flags & CMD_NEED_SRV)    {        if (!("server" in e) || !e.server)        {            e.parseError = getMsg(MSG_ERR_NEED_SERVER, command.name);            return false;        }        if (!e.server.isConnected)        {            e.parseError = MSG_ERR_NOT_CONNECTED;            return false;        }    }    if (command.flags & (CMD_NEED_NET | CMD_NEED_SRV | CMD_NEED_CHAN))    {        if (!("network" in e) || !e.network)        {            e.parseError = getMsg(MSG_ERR_NEED_NETWORK, command.name);            return false;        }    }    return CommandManager.prototype.isCommandSatisfied(e, command);}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/dff7b6ec391bc8e527717adb784ccdc970a636d0/commands.js/buggy/xul/content/commands.js