diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-25 19:29:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-25 19:29:14 +0300 |
commit | ed946baa5e32135fd3c9a3c263a98340ead4da47 (patch) | |
tree | 3f918ca689480269ddc9927a5ecbd8b76e6bcb26 /protocols/Discord/src/proto.cpp | |
parent | d94f9da99db86de15df91acbdd820584186417a0 (diff) |
useless condition removed
Diffstat (limited to 'protocols/Discord/src/proto.cpp')
-rw-r--r-- | protocols/Discord/src/proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |