summaryrefslogtreecommitdiff
path: root/protocols/Icq10/src/http.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-30 20:25:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-30 20:25:07 +0300
commit69a81a736bfbb2a215a6c56ad83977d5753b2c6d (patch)
tree4be65a73a127037c1c2f02371d7e752fff5d3871 /protocols/Icq10/src/http.cpp
parentf6e89cd758c1df231b478c4f530af6216f991858 (diff)
ICQ10:
- fixes #1699 (after password change Miranda cannot login to ICQ until restart); - code cleaning
Diffstat (limited to 'protocols/Icq10/src/http.cpp')
-rw-r--r--protocols/Icq10/src/http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Icq10/src/http.cpp b/protocols/Icq10/src/http.cpp
index 0d66a3ae71..5590ddc596 100644
--- a/protocols/Icq10/src/http.cpp
+++ b/protocols/Icq10/src/http.cpp
@@ -141,7 +141,7 @@ void CIcqProto::ExecuteRequest(AsyncHttpRequest *pReq)
if (r.error() == 40201) { // robust token expired
CMStringA oldToken = m_szRToken;
m_szRToken.Empty();
- delSetting("RToken");
+ delSetting(DB_KEY_RTOKEN);
// if token refresh succeeded, replace it in the query and push request back
if (RefreshRobustToken()) {