# HG changeset patch # User Richard Laager # Date 1157854185 0 # Node ID 0aa6adcdd81975b2577f9e528b772d18c5f07d98 # Parent 5ac8f22e7b08e80a6f19bec36e26cd3a538cd703 [gaim-migrate @ 17213] Correction from wabz on his previous patch. committer: Tailor Script diff -r 5ac8f22e7b08 -r 0aa6adcdd819 libgaim/protocols/msn/notification.c --- a/libgaim/protocols/msn/notification.c Sun Sep 10 00:17:44 2006 +0000 +++ b/libgaim/protocols/msn/notification.c Sun Sep 10 02:09:45 2006 +0000 @@ -677,7 +677,7 @@ user = msn_userlist_find_user(session->userlist, passport); old_friendly = msn_user_get_friendly_name(user); - if (old_friendly && strcmp(old_friendly, friendly)) + if (!old_friendly || (old_friendly && strcmp(old_friendly, friendly))) { serv_got_alias(gc, passport, friendly); msn_user_set_friendly_name(user, friendly);