diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-01 18:17:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-01 18:17:19 +0300 |
commit | 133b067e695bee81189df980c9043fe843d7887e (patch) | |
tree | 76a36435e3d210490a08c59a3c2abe236a16d115 /protocols/Discord/src/dispatch.cpp | |
parent | 22308a6db6d03337d854810c3245260a19972deb (diff) |
let's make a couple of things simpler
Diffstat (limited to 'protocols/Discord/src/dispatch.cpp')
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index 90d0c6af40..2841b481a4 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -550,7 +550,7 @@ void CDiscordProto::OnCommandPresence(const JSONNode &pRoot) void CDiscordProto::OnCommandReady(const JSONNode &pRoot) { GatewaySendHeartbeat(); - m_impl.m_heartBeat.Start(m_iHartbeatInterval); + m_impl.m_heartBeat.StartSafe(m_iHartbeatInterval); m_szGatewaySessionId = pRoot["session_id"].as_mstring(); |