Minor fixes

This commit is contained in:
Mattias Erming 2014-05-18 23:23:31 +02:00
parent f731707fe7
commit 81d88d4c64

View file

@ -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":