Support kick message in /kick command

This commit is contained in:
Maxime Poulin 2016-03-26 23:29:59 -04:00
parent 6c5ade3fe3
commit 9cd4c6744c

View File

@ -3,7 +3,7 @@ exports.commands = ["kick"];
exports.input = function(network, chan, cmd, args) {
if (args.length !== 0) {
var irc = network.irc;
irc.raw("KICK", chan.name, args[0]);
irc.raw("KICK", chan.name, args[0], args.slice(1).join(" "));
}
return true;