summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-08 10:35:48 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-08 10:35:48 +0000
commit897314924732a35178fa94c257ea370b6c056120 (patch)
treeda473e1b0f24d366676d5514ed52b0887d20aa0a /protocols
parent904f771a314a11fb28e5467a9e8c5172d4e60781 (diff)
Steam: Add new contacts at login only, so it won't feed our clist with "random" players
git-svn-id: http://svn.miranda-ng.org/main/trunk@11272 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Steam/src/steam_pooling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp
index bd0d2fa49e..41adf28304 100644
--- a/protocols/Steam/src/steam_pooling.cpp
+++ b/protocols/Steam/src/steam_pooling.cpp
@@ -82,7 +82,7 @@ void CSteamProto::ParsePollData(JSONNODE *data)
MCONTACT hContact = FindContact(steamId);
if (hContact == NULL)
- hContact = AddContact(steamId);
+ continue; // probably this is info about random player playing on same server, so we ignore it
setWord(hContact, "Status", status);