Merge pull request #1927 from thelounge/astorije/fix-ctcp
Fix CTCP commands always sent upper-case
This commit is contained in:
commit
3ccdee6f00
@ -4,6 +4,6 @@ exports.commands = ["ctcp"];
|
|||||||
|
|
||||||
exports.input = function({irc}, chan, cmd, args) {
|
exports.input = function({irc}, chan, cmd, args) {
|
||||||
if (args.length > 1) {
|
if (args.length > 1) {
|
||||||
irc.ctcpRequest(args[0], args.slice(1).join(" "));
|
irc.ctcpRequest(...args);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user