Support kick message in /kick command
This commit is contained in:
parent
6c5ade3fe3
commit
9cd4c6744c
@ -3,7 +3,7 @@ exports.commands = ["kick"];
|
|||||||
exports.input = function(network, chan, cmd, args) {
|
exports.input = function(network, chan, cmd, args) {
|
||||||
if (args.length !== 0) {
|
if (args.length !== 0) {
|
||||||
var irc = network.irc;
|
var irc = network.irc;
|
||||||
irc.raw("KICK", chan.name, args[0]);
|
irc.raw("KICK", chan.name, args[0], args.slice(1).join(" "));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user