diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-30 00:44:17 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-30 00:44:17 +0100 |
commit | 7a6ba50d4824c4e33ebf1154e97038c9331f4f58 (patch) | |
tree | 93926be0405cd696661d23eef569b5ea0df4287e /irc_im.c | |
parent | 58646d9244557320ec811ee0b67519027170eede (diff) |
Also allow selecting contacts for a channel by protocol instead of account.
If someone has two MSN accts and wants contacts from both in one channel,
this is now possible.
Diffstat (limited to 'irc_im.c')
-rw-r--r-- | irc_im.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -156,6 +156,8 @@ void bee_irc_channel_update( irc_t *irc, irc_channel_t *ic, irc_user_t *iu ) show = iu->bu->group == icc->group; else if( icc->type == IRC_CC_TYPE_ACCOUNT ) show = iu->bu->ic->acc == icc->account; + else if( icc->type == IRC_CC_TYPE_PROTOCOL ) + show = iu->bu->ic->acc->prpl == icc->protocol; if( !show ) { |