Merge pull request #3352 from thelounge/xpaw/truly-raw

Make /raw actually write to network as-is
This commit is contained in:
Pavel Djundik 2019-08-07 15:15:36 +03:00 committed by GitHub
commit 51fb42c379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ exports.commands = ["raw", "send", "quote"];
exports.input = function({irc}, chan, cmd, args) {
if (args.length !== 0) {
irc.raw(args);
irc.connection.write(args.join(" "));
}
return true;