From c02cfb9dd8a32da233f9dcbfd9616d03034d12af Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 20 Dec 2020 16:20:13 -0500 Subject: fix off by one --- discord/store.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'discord/store.cpp') 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 Store::GetEmoji(Snowflake id) const { ret.Creator = std::optional(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); -- cgit v1.2.3