mirror of
https://github.com/uowuo/abaddon.git
synced 2024-11-10 14:10:10 +00:00
reset last sequence on connect
This commit is contained in:
parent
3e9247ad08
commit
77fc962de4
@ -12,6 +12,7 @@ void DiscordClient::Start() {
|
||||
std::memset(&m_zstream, 0, sizeof(m_zstream));
|
||||
inflateInit2(&m_zstream, MAX_WBITS + 32);
|
||||
|
||||
m_last_sequence = -1;
|
||||
m_heartbeat_acked = true;
|
||||
m_client_connected = true;
|
||||
m_websocket.StartConnection(DiscordGateway);
|
||||
|
Loading…
Reference in New Issue
Block a user