mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-08 16:52:18 +02:00
9 lines
191 B
JavaScript
9 lines
191 B
JavaScript
|
exports.commands = ["ctcp"];
|
||
|
|
||
|
exports.input = function(network, chan, cmd, args) {
|
||
|
if (args.length > 1) {
|
||
|
var irc = network.irc;
|
||
|
irc.ctcpRequest(args[0], args.slice(1).join(" "));
|
||
|
}
|
||
|
};
|