mirror of
https://github.com/thelounge/thelounge
synced 2024-12-23 19:03:08 +00:00
9 lines
188 B
JavaScript
9 lines
188 B
JavaScript
module.exports = function(network, chan, cmd, args) {
|
|
if (cmd != "invite") {
|
|
return;
|
|
}
|
|
var irc = network.irc;
|
|
if (args.length === 2) {
|
|
irc.invite(args[0], args[1]);
|
|
}
|
|
};
|