Minor fixes
This commit is contained in:
parent
f731707fe7
commit
81d88d4c64
|
@ -225,9 +225,14 @@ function input(data) {
|
|||
break;
|
||||
|
||||
case "join":
|
||||
if (client && args[1]) {
|
||||
client.join(args.slice(1));
|
||||
}
|
||||
break;
|
||||
|
||||
case "nick":
|
||||
if (client && args[1]) {
|
||||
client[cmd].apply(client, args.slice(1));
|
||||
client.nick(args[1]);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -256,7 +261,7 @@ function input(data) {
|
|||
network.channels.forEach(function(c) {
|
||||
if (c.type == "channel") part.push(c.name);
|
||||
});
|
||||
client.part(part.join(","));
|
||||
client.part(part);
|
||||
break;
|
||||
|
||||
case "invite":
|
||||
|
|
Loading…
Reference in New Issue