Changeset ac2717b for root_commands.c
- Timestamp:
- 2010-08-14T10:55:20Z (14 years ago)
- Branches:
- master
- Children:
- 136c2bb
- Parents:
- 4ffd757
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r4ffd757 rac2717b 1008 1008 irc_usermsg( irc, format, "Nick", "Handle/Account", "Status" ); 1009 1009 1010 if( strcmp( set_getstr( &irc->root->last_channel->set, "type" ), "control" ) != 0 ) 1011 irc->root->last_channel = NULL; 1012 1010 1013 for( l = irc->users; l; l = l->next ) 1011 1014 { … … 1013 1016 bee_user_t *bu = iu->bu; 1014 1017 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 ) 1016 1020 continue; 1017 1021 … … 1035 1039 bee_user_t *bu = iu->bu; 1036 1040 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 ) ) 1038 1043 continue; 1039 1044 … … 1051 1056 bee_user_t *bu = iu->bu; 1052 1057 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 ) 1054 1060 continue; 1055 1061
Note: See TracChangeset
for help on using the changeset viewer.