From 15e85f1394af11a078c17bb517cae112ecd9e22c Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 14 Aug 2022 20:11:53 +0300 Subject: [PATCH] Update Net.hpp --- module/Library/Net.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Library/Net.hpp b/module/Library/Net.hpp index 7f87305f..a4be0a45 100644 --- a/module/Library/Net.hpp +++ b/module/Library/Net.hpp @@ -648,7 +648,7 @@ struct WebSocketClient : public SqChainedInstances< WebSocketClient > /* -------------------------------------------------------------------------------------------- * Sends the contents of the given buffer through the socket as a single frame. */ - SQMOD_NODISCARD SQInteger SendOpCode(SqBuffer & buf, SQInteger opcode) + SQMOD_NODISCARD SQInteger SendOpCode(SQInteger opcode) { return mg_websocket_client_write(Valid(), static_cast< int >(opcode), nullptr, 0); }