From e1d4521c5530e7f971f15fdec358f27e563553dd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 6 Jan 2024 13:53:13 +0300 Subject: code cleaning --- protocols/Discord/src/connection.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'protocols/Discord/src') diff --git a/protocols/Discord/src/connection.cpp b/protocols/Discord/src/connection.cpp index 00c9214b2c..6835713687 100644 --- a/protocols/Discord/src/connection.cpp +++ b/protocols/Discord/src/connection.cpp @@ -19,15 +19,6 @@ along with this program. If not, see . void CDiscordProto::ExecuteRequest(AsyncHttpRequest *pReq) { - CMStringA str; - - if (!pReq->m_szParam.IsEmpty()) { - if (pReq->requestType == REQUEST_GET) { - str.Format("%s?%s", pReq->m_szUrl.c_str(), pReq->m_szParam.c_str()); - pReq->m_szUrl = str.GetBuffer(); - } - } - if (pReq->m_bMainSite) { pReq->flags |= NLHRF_PERSISTENT; pReq->nlc = m_hAPIConnection; -- cgit v1.2.3