- Timestamp:
- 2010-03-13T01:02:47Z (15 years ago)
- Branches:
- master
- Children:
- bb34771
- Parents:
- 1be0d26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r1be0d26 r286b28e 448 448 { 449 449 user_t *u = user_findhandle( ic, handle ); 450 char *set; 450 451 451 452 if( !u || !realname ) return; … … 459 460 if( ( ic->flags & OPT_LOGGED_IN ) && set_getbool( &ic->irc->set, "display_namechanges" ) ) 460 461 imcb_log( ic, "User `%s' changed name to `%s'", u->nick, u->realname ); 462 } 463 464 set = set_getstr( &ic->acc->set, "nick_source" ); 465 if( strcmp( set, "handle" ) != 0 ) 466 { 467 char *name = g_strdup( realname ); 468 469 if( strcmp( set, "first_name" ) == 0 ) 470 { 471 int i; 472 for( i = 0; name[i] && !isspace( name[i] ); i ++ ) {} 473 name[i] = '\0'; 474 } 475 476 imcb_buddy_nick_hint( ic, handle, name ); 477 478 g_free( name ); 461 479 } 462 480 }
Note: See TracChangeset
for help on using the changeset viewer.