comparison libpurple/conversation.c @ 25868:51ff18d00dea

We don't have purple_strequal yet in the past.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 29 Apr 2009 18:33:39 +0000
parents 1cf0b4f71d16
children 01f1929d0936
comparison
equal deleted inserted replaced
25867:7ea04b53f553 25868:51ff18d00dea
1479 if (!(flags & PURPLE_MESSAGE_WHISPER)) { 1479 if (!(flags & PURPLE_MESSAGE_WHISPER)) {
1480 const char *str; 1480 const char *str;
1481 1481
1482 str = purple_normalize(account, who); 1482 str = purple_normalize(account, who);
1483 1483
1484 if (purple_strequal(str, chat->nick)) { 1484 if (!strcmp(str, chat->nick)) {
1485 flags |= PURPLE_MESSAGE_SEND; 1485 flags |= PURPLE_MESSAGE_SEND;
1486 } else { 1486 } else {
1487 flags |= PURPLE_MESSAGE_RECV; 1487 flags |= PURPLE_MESSAGE_RECV;
1488 1488
1489 if (purple_utf8_has_word(message, chat->nick)) 1489 if (purple_utf8_has_word(message, chat->nick))