summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/http.cpp')
-rw-r--r--protocols/Discord/src/http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/http.cpp b/protocols/Discord/src/http.cpp
index 70cfe9db80..147bebe209 100644
--- a/protocols/Discord/src/http.cpp
+++ b/protocols/Discord/src/http.cpp
@@ -93,7 +93,7 @@ JsonReply::~JsonReply()
void CDiscordProto::ServerThread(void*)
{
- m_szAccessToken = getStringA("AccessToken");
+ m_szAccessToken = getStringA(DB_KEY_TOKEN);
m_hAPIConnection = nullptr;
m_bTerminated = false;