rem: if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "!")) 
add: if (arrayIndexOf(this.channelTypes, e.params[1][0]) != -1) 
context: function serv_mode (e){    e.destObject = this;    /* modes are not allowed in +channels -> no need to test that here.. */    if ((e.params[1][0] == "#") || (e.params[1][0] == "&") ||        (e.params[1][0] == "!"))    {        e.channel = new CIRCChannel (this, e.params[1]);        if ("user" in e && e.user)            e.user = new CIRCChanUser (e.channel, e.user.nick);        e.type = "chanmode";        e.destMethod = "onChanMode";    }    else    {        e.type = "usermode";        e.destMethod = "onUserMode";    }        return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e11c8cbd6fca8e95318d16f53a60cb8585b78607/irc.js/buggy/extensions/irc/js/lib/irc.js