summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-08-09 13:19:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-08-09 13:19:04 +0300
commit1b410d8cefa448ee1809bab7c52a3d34383e5df7 (patch)
treedcaf5524946a6417374d498df1631f8f7929efa3 /protocols/Steam/src/steam_proto.cpp
parent651a3529398a341739f71ea0c7f3212555c13949 (diff)
Steam: minor code cleaning
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r--protocols/Steam/src/steam_proto.cpp7
1 files changed, 1 insertions, 6 deletions
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;
}