| 766 */ |
766 */ |
| 767 tmp = g_strdup(gaim_normalize(gc->account, gaim_account_get_username(gc->account))); |
767 tmp = g_strdup(gaim_normalize(gc->account, gaim_account_get_username(gc->account))); |
| 768 if (!strcmp(tmp, gaim_normalize(gc->account, c))) { |
768 if (!strcmp(tmp, gaim_normalize(gc->account, c))) { |
| 769 gaim_connection_set_display_name(gc, c); |
769 gaim_connection_set_display_name(gc, c); |
| 770 gc->evil = evil; |
770 gc->evil = evil; |
| 771 gc->login_time_official = signon; |
|
| 772 } |
771 } |
| 773 g_free(tmp); |
772 g_free(tmp); |
| 774 |
773 |
| 775 serv_got_update(gc, c, logged_in, evil, signon, time_idle, type); |
774 serv_got_update(gc, c, logged_in, evil, signon, time_idle, type); |
| 776 } else if (!g_ascii_strcasecmp(c, "ERROR")) { |
775 } else if (!g_ascii_strcasecmp(c, "ERROR")) { |