diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-06-21 17:46:15 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-06-21 17:46:15 +0000 |
commit | 7941d6d1a2ba1fac7abf817149360d73ed79c799 (patch) | |
tree | d336c78e18e291ea4e5c755ddf9a5f65fa163a80 /protocols/Steam/src/steam_pooling.cpp | |
parent | 13ec12177636fb42c9692664d0f48bd3be2a7fc0 (diff) |
Steam: first approach to block list support
git-svn-id: http://svn.miranda-ng.org/main/trunk@9546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_pooling.cpp')
-rw-r--r-- | protocols/Steam/src/steam_pooling.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp index d780a57210..93ef78e726 100644 --- a/protocols/Steam/src/steam_pooling.cpp +++ b/protocols/Steam/src/steam_pooling.cpp @@ -112,10 +112,12 @@ void CSteamProto::ParsePollData(JSONNODE *data) case 1:
// ignored
// todo
- MCONTACT hContact = FindContact(steamId);
- if (hContact)
{
- setByte(hContact, "Block", 1);
+ MCONTACT hContact = FindContact(steamId);
+ if (hContact)
+ {
+ setByte(hContact, "Block", 1);
+ }
}
break;
|