From 7a6ba50d4824c4e33ebf1154e97038c9331f4f58 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 30 Jun 2010 00:44:17 +0100 Subject: 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. --- irc_im.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'irc_im.c') diff --git a/irc_im.c b/irc_im.c index 6572be44..268fb176 100644 --- a/irc_im.c +++ b/irc_im.c @@ -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 ) { -- cgit v1.2.3