"use strict";

exports.commands = ["ctcp"];

exports.input = function({irc}, chan, cmd, args) {
	if (args.length > 1) {
		irc.ctcpRequest(args[0], args.slice(1).join(" "));
	}
};

"use strict";

exports.commands = ["ctcp"];

exports.input = function({irc}, chan, cmd, args) {
	if (args.length > 1) {
		irc.ctcpRequest(...args);
	}
};

Fix CTCP commands always sent upper-case
Fix CTCP commands always sent upper-case

This is a Node v6+ only fix.
`irc-framework` upper-cases the first argument, and we were sending everything as a string in first argument. This correctly splits.
