From 7c9e299626e8ce572d69c9af176df49a819b6cbb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 24 Apr 2021 11:07:00 +0300 Subject: WebSocket: different stubs for sending text & binary packets --- protocols/Discord/src/gateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Discord/src') diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp index a8a0ca4efa..937cc11d89 100644 --- a/protocols/Discord/src/gateway.cpp +++ b/protocols/Discord/src/gateway.cpp @@ -27,7 +27,7 @@ bool CDiscordProto::GatewaySend(const JSONNode &pRoot) json_string szText = pRoot.write(); debugLogA("Gateway send: %s", szText.c_str()); - WebSocket_Send(m_hGatewayConnection, szText.c_str(), szText.length()); + WebSocket_SendText(m_hGatewayConnection, szText.c_str()); return true; } -- cgit v1.2.3