mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-02 06:33:19 +02:00
input/raw: use the irc-framework api
We are not allowed to mess with the connection object directly according to the public api surface of the framework
This commit is contained in:
parent
8ca9ee873b
commit
7f6059d5b7
|
@ -4,7 +4,7 @@ const commands = ["raw", "send", "quote"];
|
|||
|
||||
const input: PluginInputHandler = function ({irc}, chan, cmd, args) {
|
||||
if (args.length !== 0) {
|
||||
irc.connection.write(args.join(" "));
|
||||
irc.raw(...args);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue