summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-01-17 23:11:36 +0300
committeraunsane <aunsane@gmail.com>2018-01-17 23:11:36 +0300
commitfc14cd04c3894702603bb4db7e56258608c5c8d7 (patch)
tree43b5315d3f20090cf4ebb4e5828a573bb6ec6ff7 /protocols/Steam/src/steam_contacts.cpp
parentbf928bd6cfa3df39b4cfda0ff5a5825105cf4a56 (diff)
Steam: fixed #1106
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index 894853f46b..2d11ef2d37 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -369,11 +369,11 @@ void CSteamProto::UpdateContactRelationship(MCONTACT hContact, const JSONNode &d
return;
json_string relationship = node.as_string();
- if (!mir_strcmp(relationship.c_str(), "friend"))
+ if (relationship == "friend")
ContactIsFriend(hContact);
- else if (!mir_strcmp(relationship.c_str(), "ignoredfriend"))
+ else if (relationship == "ignoredfriend")
ContactIsBlocked(hContact);
- else if (!mir_strcmp(relationship.c_str(), "requestrecipient"))
+ else if (relationship == "requestrecipient")
ContactIsAskingAuth(hContact);
}