summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/gateway.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-03 22:12:24 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-03 22:13:27 +0300
commit0f361039b66b42b704b6b3601a1c3a88e317cc7d (patch)
treec37356208e886cfa48068329cc4f38d11ad60d36 /protocols/Discord/src/gateway.cpp
parent5e12d2bc61726babb410af007a3f5b73228eb4c0 (diff)
code cleaning
Diffstat (limited to 'protocols/Discord/src/gateway.cpp')
-rw-r--r--protocols/Discord/src/gateway.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp
index c038234aec..e3bf1b307c 100644
--- a/protocols/Discord/src/gateway.cpp
+++ b/protocols/Discord/src/gateway.cpp
@@ -25,9 +25,7 @@ bool CDiscordProto::GatewaySend(const JSONNode &pRoot)
if (!m_bConnected)
return false;
- json_string szText = pRoot.write();
- debugLogA("Gateway send: %s", szText.c_str());
- m_ws.sendText(szText.c_str());
+ m_ws.sendText(pRoot.write().c_str());
return true;
}