From 69a81a736bfbb2a215a6c56ad83977d5753b2c6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Dec 2018 20:25:07 +0300 Subject: ICQ10: - fixes #1699 (after password change Miranda cannot login to ICQ until restart); - code cleaning --- protocols/Icq10/src/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Icq10/src/http.cpp') 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()) { -- cgit v1.2.3