Fix autojoining and allow autojoing with keys
Syntax is like "#a,#b,#c keya,keyb"
This commit is contained in:
parent
17bcc37b80
commit
b19e79c48f
@ -204,8 +204,8 @@ Client.prototype.connect = function(args) {
|
||||
var join = (args.join || "");
|
||||
if (join) {
|
||||
setTimeout(function() {
|
||||
join = join.replace(/\,/g, " ").split(/\s+/g);
|
||||
network.irc.join(join);
|
||||
join = join.split(/\s+/);
|
||||
network.irc.join(join[0], join[1]);
|
||||
}, delay);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user