Changeset 5b52a48 for protocols/nogaim.c
- Timestamp:
- 2006-07-03T21:22:45Z (18 years ago)
- Branches:
- master
- Children:
- 7e3592e
- Parents:
- 911f2eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r911f2eb r5b52a48 366 366 367 367 memset( nick, 0, MAX_NICK_LENGTH + 1 ); 368 strcpy( nick, nick_get( gc-> irc, handle, gc->acc->prpl, realname ) );368 strcpy( nick, nick_get( gc->acc, handle, realname ) ); 369 369 370 370 u = user_add( gc->irc, nick ); … … 378 378 u->user = g_strndup( handle, s - handle ); 379 379 } 380 else if( *gc->acc->server )380 else if( gc->acc->server ) 381 381 { 382 382 char *colon; … … 778 778 779 779 /* It might be yourself! */ 780 if( b->gc->acc->prpl-> cmp_buddynames( handle, b->gc->username ) == 0 )780 if( b->gc->acc->prpl->handle_cmp( handle, b->gc->username ) == 0 ) 781 781 { 782 782 u = user_find( b->gc->irc, b->gc->irc->nick ); … … 1062 1062 void bim_add_allow( struct gaim_connection *gc, char *handle ) 1063 1063 { 1064 if( g_slist_find_custom( gc->permit, handle, (GCompareFunc) gc->acc->prpl-> cmp_buddynames) == NULL )1064 if( g_slist_find_custom( gc->permit, handle, (GCompareFunc) gc->acc->prpl->handle_cmp ) == NULL ) 1065 1065 { 1066 1066 gc->permit = g_slist_prepend( gc->permit, g_strdup( handle ) ); … … 1074 1074 GSList *l; 1075 1075 1076 if( ( l = g_slist_find_custom( gc->permit, handle, (GCompareFunc) gc->acc->prpl-> cmp_buddynames) ) )1076 if( ( l = g_slist_find_custom( gc->permit, handle, (GCompareFunc) gc->acc->prpl->handle_cmp ) ) ) 1077 1077 { 1078 1078 g_free( l->data ); … … 1085 1085 void bim_add_block( struct gaim_connection *gc, char *handle ) 1086 1086 { 1087 if( g_slist_find_custom( gc->deny, handle, (GCompareFunc) gc->acc->prpl-> cmp_buddynames) == NULL )1087 if( g_slist_find_custom( gc->deny, handle, (GCompareFunc) gc->acc->prpl->handle_cmp ) == NULL ) 1088 1088 { 1089 1089 gc->deny = g_slist_prepend( gc->deny, g_strdup( handle ) ); … … 1097 1097 GSList *l; 1098 1098 1099 if( ( l = g_slist_find_custom( gc->deny, handle, (GCompareFunc) gc->acc->prpl-> cmp_buddynames) ) )1099 if( ( l = g_slist_find_custom( gc->deny, handle, (GCompareFunc) gc->acc->prpl->handle_cmp ) ) ) 1100 1100 { 1101 1101 g_free( l->data );
Note: See TracChangeset
for help on using the changeset viewer.