thelounge/src/plugins/inputs/kill.js
Kramer Campbell cff4f1ce2c Add support for /kill
Fixes #3122
2019-03-16 12:57:24 -07:00

12 lines
196 B
JavaScript

"use strict";
exports.commands = ["kill"];
exports.input = function({irc}, chan, cmd, args) {
if (args.length !== 0) {
irc.raw("KILL", args[0], args.slice(1).join(" "));
}
return true;
};