Changeset 07874be for root_commands.c


Ignore:
Timestamp:
2010-08-14T13:44:35Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e5854a8
Parents:
5848675 (diff), 136c2bb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r5848675 r07874be  
    10081008        irc_usermsg( irc, format, "Nick", "Handle/Account", "Status" );
    10091009       
     1010        if( strcmp( set_getstr( &irc->root->last_channel->set, "type" ), "control" ) != 0 )
     1011                irc->root->last_channel = NULL;
     1012       
    10101013        for( l = irc->users; l; l = l->next )
    10111014        {
     
    10131016                bee_user_t *bu = iu->bu;
    10141017               
    1015                 if( !bu || ( bu->flags & ( BEE_USER_ONLINE | BEE_USER_AWAY ) ) != BEE_USER_ONLINE )
     1018                if( !bu || ( irc->root->last_channel && !irc_channel_wants_user( irc->root->last_channel, iu ) ) ||
     1019                    ( bu->flags & ( BEE_USER_ONLINE | BEE_USER_AWAY ) ) != BEE_USER_ONLINE )
    10161020                        continue;
    10171021               
     
    10351039                bee_user_t *bu = iu->bu;
    10361040               
    1037                 if( !bu || !( bu->flags & BEE_USER_ONLINE ) || !( bu->flags & BEE_USER_AWAY ) )
     1041                if( !bu || ( irc->root->last_channel && !irc_channel_wants_user( irc->root->last_channel, iu ) ) ||
     1042                    !( bu->flags & BEE_USER_ONLINE ) || !( bu->flags & BEE_USER_AWAY ) )
    10381043                        continue;
    10391044               
     
    10511056                bee_user_t *bu = iu->bu;
    10521057               
    1053                 if( !bu || bu->flags & BEE_USER_ONLINE )
     1058                if( !bu || ( irc->root->last_channel && !irc_channel_wants_user( irc->root->last_channel, iu ) ) ||
     1059                    bu->flags & BEE_USER_ONLINE )
    10541060                        continue;
    10551061               
Note: See TracChangeset for help on using the changeset viewer.