From ed946baa5e32135fd3c9a3c263a98340ead4da47 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 25 Aug 2017 19:29:14 +0300 Subject: useless condition removed --- protocols/Discord/src/proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Discord/src/proto.cpp') diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index ace96630cb..b384f34be8 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -235,7 +235,7 @@ HANDLE CDiscordProto::SearchBasic(const wchar_t *wszId) CMStringA szUrl = "/users/"; szUrl.AppendFormat(ptrA(mir_utf8encodeW(wszId))); - AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, szUrl, &CDiscordProto::OnReceiveUserInfo); + AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, szUrl, &CDiscordProto::OnReceiveMyInfo); pReq->pUserInfo = (void*)-1; Push(pReq); return (HANDLE)1; // Success -- cgit v1.2.3