--- a/src/protocols/oscar/oscar.c Tue Sep 18 01:46:56 2001 +0000 +++ b/src/protocols/oscar/oscar.c Tue Sep 18 18:17:21 2001 +0000 @@ -1123,6 +1123,7 @@ time_t time_idle; int type = 0; struct gaim_connection *gc = sess->aux_data; + char *tmp; va_list ap; va_start(ap, fr); @@ -1146,6 +1147,11 @@ } else time_idle = 0; + tmp = g_strdup(normalize(gc->username)); + if (!strcmp(tmp, normalize(info->sn))) + g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", info->sn); + g_free(tmp); + serv_got_update(gc, info->sn, 1, info->warnlevel/10, info->onlinesince, time_idle, type, info->capabilities);