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 || "");
|
var join = (args.join || "");
|
||||||
if (join) {
|
if (join) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
join = join.replace(/\,/g, " ").split(/\s+/g);
|
join = join.split(/\s+/);
|
||||||
network.irc.join(join);
|
network.irc.join(join[0], join[1]);
|
||||||
}, delay);
|
}, delay);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user