diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-03-03 03:01:09 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-03-03 03:01:09 -0500 |
commit | 17f1289c84af11b6e02f5f5de4714c8aad18e47e (patch) | |
tree | dac8a9a076aa1d85915e4926eadf76c0cf9c4200 /src/discord/discord.cpp | |
parent | fc3d0fddd2645e6af9ef77736ee34b95f168249b (diff) | |
download | abaddon-portaudio-17f1289c84af11b6e02f5f5de4714c8aad18e47e.tar.gz abaddon-portaudio-17f1289c84af11b6e02f5f5de4714c8aad18e47e.zip |
fill out gateway op enum using internal names
Diffstat (limited to 'src/discord/discord.cpp')
-rw-r--r-- | src/discord/discord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/discord/discord.cpp b/src/discord/discord.cpp index 78f2c35..6ea0ea6 100644 --- a/src/discord/discord.cpp +++ b/src/discord/discord.cpp @@ -1328,7 +1328,7 @@ void DiscordClient::HandleGatewayMessage(std::string str) { case GatewayOp::InvalidSession: { HandleGatewayInvalidSession(m); } break; - case GatewayOp::Event: { + case GatewayOp::Dispatch: { auto iter = m_event_map.find(m.Type); if (iter == m_event_map.end()) { printf("Unknown event %s\n", m.Type.c_str()); |