- Timestamp:
- 2010-08-14T13:44:35Z (14 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
r5848675 r07874be 141 141 void bee_irc_channel_update( irc_t *irc, irc_channel_t *ic, irc_user_t *iu ) 142 142 { 143 struct irc_control_channel *icc;144 143 GSList *l; 145 gboolean match = FALSE;146 144 147 145 if( ic == NULL ) … … 168 166 } 169 167 170 icc = ic->data; 171 172 if( icc->type == IRC_CC_TYPE_DEFAULT ) 173 match = TRUE; 174 else if( icc->type == IRC_CC_TYPE_GROUP ) 175 match = iu->bu->group == icc->group; 176 else if( icc->type == IRC_CC_TYPE_ACCOUNT ) 177 match = iu->bu->ic->acc == icc->account; 178 else if( icc->type == IRC_CC_TYPE_PROTOCOL ) 179 match = iu->bu->ic->acc->prpl == icc->protocol; 180 181 if( !match ) 168 if( !irc_channel_wants_user( ic, iu ) ) 182 169 { 183 170 irc_channel_del_user( ic, iu, IRC_CDU_PART, NULL ); … … 185 172 else 186 173 { 174 struct irc_control_channel *icc = ic->data; 187 175 int mode = 0; 188 176
Note: See TracChangeset
for help on using the changeset viewer.