mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-16 04:25:13 +02:00
Make /raw actually write to network as-is
This commit is contained in:
parent
1f27c4fad4
commit
858f8425fd
|
@ -4,7 +4,7 @@ exports.commands = ["raw", "send", "quote"];
|
||||||
|
|
||||||
exports.input = function({irc}, chan, cmd, args) {
|
exports.input = function({irc}, chan, cmd, args) {
|
||||||
if (args.length !== 0) {
|
if (args.length !== 0) {
|
||||||
irc.raw(args);
|
irc.connection.write(args.join(" "));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue