tlightness: null,
uiOptionsArg: null,
nickValidation: null,
+ helpURL: null,
dynamicBaseURL: "/",
staticBaseURL: "/"
},
qwebirc.global = {
dynamicBaseURL: options.dynamicBaseURL,
staticBaseURL: options.staticBaseURL,
+ helpURL: options.helpURL,
nicknameValidator: $defined(options.nickValidation) ? new qwebirc.irc.NicknameValidator(options.nickValidation) : new qwebirc.irc.DummyNicknameValidator()
};
for(var i=0;i<chans.length;i++) {
chans2[i] = chans[i];
-
- if(chans[i].charAt(0) != '#')
+
+ var prefix = chans[i].charAt(0);
+ if(prefix != '#' && prefix != '&')
chans2[i] = "#" + chans2[i]
}
cdata[0] = chans2.join(",");