Changeset a429907 for irc_im.c


Ignore:
Timestamp:
2010-12-05T12:28:07Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d88c92a
Parents:
fd65edb
Message:

rename -del

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    rfd65edb ra429907  
    361361       
    362362        return TRUE;
     363}
     364
     365void bee_irc_user_nick_reset( irc_user_t *iu )
     366{
     367        bee_user_t *bu = iu->bu;
     368        bee_user_flags_t online;
     369       
     370        if( bu == FALSE )
     371                return;
     372       
     373        /* In this case, pretend the user is offline. */
     374        if( ( online = bu->flags & BEE_USER_ONLINE ) )
     375                bu->flags &= ~BEE_USER_ONLINE;
     376       
     377        nick_del( bu );
     378        bee_irc_user_nick_update( iu );
     379       
     380        bu->flags |= online;
    363381}
    364382
Note: See TracChangeset for help on using the changeset viewer.