mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-28 10:10:20 +02:00
4196e627f9
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.
10 lines
154 B
JavaScript
10 lines
154 B
JavaScript
"use strict";
|
|
|
|
exports.commands = ["ctcp"];
|
|
|
|
exports.input = function({irc}, chan, cmd, args) {
|
|
if (args.length > 1) {
|
|
irc.ctcpRequest(...args);
|
|
}
|
|
};
|