summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
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);
}