From 1b410d8cefa448ee1809bab7c52a3d34383e5df7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Aug 2020 13:19:04 +0300 Subject: Steam: minor code cleaning --- protocols/Steam/src/steam_proto.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'protocols/Steam/src/steam_proto.cpp') diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 463196b604..445a0b94db 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -206,13 +206,8 @@ HANDLE CSteamProto::SearchBasic(const wchar_t* id) if (!this->IsOnline()) return nullptr; - ptrA token(getStringA("TokenSecret")); ptrA steamId(mir_u2a(id)); - - PushRequest( - new GetUserSummariesRequest(token, steamId), - &CSteamProto::OnSearchResults, - (HANDLE)STEAM_SEARCH_BYID); + PushRequest(new GetUserSummariesRequest(this, steamId), &CSteamProto::OnSearchResults, (HANDLE)STEAM_SEARCH_BYID); return (HANDLE)STEAM_SEARCH_BYID; } -- cgit v1.2.3