Changeset 231b08b
- Timestamp:
- 2010-04-02T02:54:39Z (15 years ago)
- Branches:
- master
- Children:
- f012a9f
- Parents:
- fb117aee
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
rfb117aee r231b08b 76 76 static gboolean bee_irc_user_status( bee_t *bee, bee_user_t *bu, bee_user_t *old ) 77 77 { 78 irc_t *irc = bee->ui_data; 79 irc_channel_t *ic = irc->channels->data; /* For now, just pick the first channel. */ 80 81 if( ( bu->flags & BEE_USER_ONLINE ) != ( old->flags & BEE_USER_ONLINE ) ) 82 { 83 if( bu->flags & BEE_USER_ONLINE ) 84 irc_channel_add_user( ic, (irc_user_t*) bu->ui_data ); 85 else 86 irc_channel_del_user( ic, (irc_user_t*) bu->ui_data ); 87 } 88 78 89 return TRUE; 79 90 } -
protocols/bee_user.c
rfb117aee r231b08b 75 75 bee_user_t *bu = l->data; 76 76 77 if( bu->ic == ic && ic->acc->prpl->handle_cmp( bu->handle, handle ) )77 if( bu->ic == ic && ic->acc->prpl->handle_cmp( bu->handle, handle ) == 0 ) 78 78 return bu; 79 79 }
Note: See TracChangeset
for help on using the changeset viewer.