mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 14:44:13 +00:00
Minor fixes
This commit is contained in:
parent
f731707fe7
commit
81d88d4c64
1 changed files with 7 additions and 2 deletions
|
@ -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 a new issue