diff options
Diffstat (limited to 'protocols/Discord/src/server.cpp')
-rw-r--r-- | protocols/Discord/src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/server.cpp b/protocols/Discord/src/server.cpp index b52c254569..02edcdaed0 100644 --- a/protocols/Discord/src/server.cpp +++ b/protocols/Discord/src/server.cpp @@ -168,7 +168,7 @@ void CDiscordProto::OnReceiveMyInfo(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest* setByte(0, DB_KEY_MFA, root["mfa_enabled"].as_bool()); setDword(0, DB_KEY_DISCR, _wtoi(root["discriminator"].as_mstring())); setWString(0, DB_KEY_NICK, root["username"].as_mstring()); - setWString(0, DB_KEY_EMAIL, root["email"].as_mstring()); + m_wszEmail = root["email"].as_mstring(); m_ownId = id; for (int i = 0; i < pReply->headersCount; i++) { |