--- a/libpurple/protocols/jabber/usermood.c Thu Mar 23 19:37:57 2017 +0300 +++ b/libpurple/protocols/jabber/usermood.c Thu Mar 23 21:01:15 2017 +0300 @@ -135,14 +135,14 @@ return; for (moodinfo = mood->child; moodinfo; moodinfo = moodinfo->next) { if (moodinfo->type == XMLNODE_TYPE_TAG) { - if (!strcmp(moodinfo->name, "text")) { + if (purple_strequal(moodinfo->name, "text")) { if (!moodtext) /* only pick the first one */ moodtext = xmlnode_get_data(moodinfo); } else { int i; for (i = 0; moods[i].mood; ++i) { /* verify that the mood is known (valid) */ - if (!strcmp(moodinfo->name, moods[i].mood)) { + if (purple_strequal(moodinfo->name, moods[i].mood)) { newmood = moods[i].mood; break; }