summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/connection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-15 12:31:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-15 12:31:34 +0300
commitad952090c27086537f8c407a228e8d609a22b0fc (patch)
tree8947fe09598c0e66ae6d4a85383d88f30d082a64 /protocols/Discord/src/connection.cpp
parent55e849420c53112df1d49d490557d6175532c260 (diff)
code cleaning
Diffstat (limited to 'protocols/Discord/src/connection.cpp')
-rw-r--r--protocols/Discord/src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/connection.cpp b/protocols/Discord/src/connection.cpp
index 6835713687..2e740ba4c1 100644
--- a/protocols/Discord/src/connection.cpp
+++ b/protocols/Discord/src/connection.cpp
@@ -102,7 +102,7 @@ void CDiscordProto::ShutdownSession()
void CDiscordProto::ConnectionFailed(int iReason)
{
debugLogA("CDiscordProto::ConnectionFailed -> reason %d", iReason);
- delSetting("AccessToken");
+ delSetting(DB_KEY_TOKEN);
ProtoBroadcastAck(0, ACKTYPE_LOGIN, ACKRESULT_FAILED, nullptr, iReason);
ShutdownSession();