Make /raw actually write to network as-is

This commit is contained in:
Pavel Djundik 2019-08-05 20:16:39 +03:00
parent 1f27c4fad4
commit 858f8425fd

View File

@ -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;