diff options
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/gateway.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |