diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-12-20 16:20:13 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-12-20 16:20:13 -0500 |
commit | c02cfb9dd8a32da233f9dcbfd9616d03034d12af (patch) | |
tree | bbe341774e572c8907409d666c360533137269cb | |
parent | 3876b91fe993544e7865a9b76ccf2b08ab66ce0a (diff) | |
download | abaddon-portaudio-c02cfb9dd8a32da233f9dcbfd9616d03034d12af.tar.gz abaddon-portaudio-c02cfb9dd8a32da233f9dcbfd9616d03034d12af.zip |
fix off by one
-rw-r--r-- | discord/store.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/store.cpp b/discord/store.cpp index 44933bb..0ab9bd2 100644 --- a/discord/store.cpp +++ b/discord/store.cpp @@ -339,10 +339,10 @@ std::optional<Emoji> Store::GetEmoji(Snowflake id) const { ret.Creator = std::optional<User>(User()); Get(m_get_emote_stmt, 3, ret.Creator->ID); } - Get(m_get_emote_stmt, 3, ret.NeedsColons); - Get(m_get_emote_stmt, 4, ret.IsManaged); - Get(m_get_emote_stmt, 5, ret.IsAnimated); - Get(m_get_emote_stmt, 6, ret.IsAvailable); + Get(m_get_emote_stmt, 4, ret.NeedsColons); + Get(m_get_emote_stmt, 5, ret.IsManaged); + Get(m_get_emote_stmt, 6, ret.IsAnimated); + Get(m_get_emote_stmt, 7, ret.IsAvailable); Reset(m_get_emote_stmt); |