summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/gateway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/gateway.cpp')
-rw-r--r--protocols/Discord/src/gateway.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp
index 6b5e320904..fe3bf8e800 100644
--- a/protocols/Discord/src/gateway.cpp
+++ b/protocols/Discord/src/gateway.cpp
@@ -259,7 +259,7 @@ void CDiscordProto::GatewaySendIdentify()
void CDiscordProto::GatewaySendGuildInfo(SnowFlake id)
{
JSONNode payload(JSON_ARRAY); payload.set_name("d");
- payload << INT64_PARAM("", id);
+ payload << SINT64_PARAM("", id);
JSONNode root;
root << INT_PARAM("op", 12) << payload;