hardlounge/src/plugins/inputs/kick.js

10 lines
178 B
JavaScript
Raw Normal View History

2014-09-13 21:29:45 +00:00
module.exports = function(network, chan, cmd, args) {
if (cmd != "kick") {
return;
}
if (args.length !== 0) {
var irc = network.irc;
irc.kick(chan.name, args[0]);
}
};