diff options
Diffstat (limited to 'discord/websocket.cpp')
-rw-r--r-- | discord/websocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/websocket.cpp b/discord/websocket.cpp index 8dcccff..ff50cd3 100644 --- a/discord/websocket.cpp +++ b/discord/websocket.cpp @@ -16,7 +16,7 @@ void Websocket::SetUserAgent(std::string agent) { } void Websocket::Stop() { - m_websocket.stop(); + Stop(ix::WebSocketCloseConstants::kNormalClosureCode); } void Websocket::Stop(uint16_t code) { |