summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/options.cpp')
-rw-r--r--protocols/Discord/src/options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/options.cpp b/protocols/Discord/src/options.cpp
index b11f0883f9..8577399926 100644
--- a/protocols/Discord/src/options.cpp
+++ b/protocols/Discord/src/options.cpp
@@ -105,6 +105,8 @@ void CDiscordProto::OnReceiveLogout(MHttpResponse *, AsyncHttpRequest *pReq)
m_szAccessToken = 0;
ShutdownSession();
+ CallService(MS_KS_ENABLEPROTOCOL, FALSE, LPARAM(m_szModuleName));
+
auto *pDlg = (CDiscardAccountOptions *)pReq->pUserInfo;
pDlg->onLogout();
}