# HG changeset patch # User Richard Laager # Date 1226644291 0 # Node ID 18858e6457884f2079f04bbb0279c75d9a8b82d4 # Parent 4152b5c1c051f5aa6e7eea37aad0ead71036f0e8 Fix CID #390 diff -r 4152b5c1c051 -r 18858e645788 libpurple/server.c --- a/libpurple/server.c Fri Nov 14 06:29:05 2008 +0000 +++ b/libpurple/server.c Fri Nov 14 06:31:31 2008 +0000 @@ -259,7 +259,8 @@ purple_blist_server_alias_buddy(b, alias); conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, b->name, account); - if(conv != NULL && alias != NULL && strcmp(alias, who)) + if(conv != NULL && alias != NULL && + who != NULL && strcmp(alias, who)) { char *escaped = g_markup_escape_text(who, -1); char *escaped2 = g_markup_escape_text(alias, -1);