From a067771fa1799e689653931f6743b3502182b850 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 9 May 2010 23:08:30 +0100 Subject: Per-account channels also exist now. --- irc_channel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'irc_channel.c') diff --git a/irc_channel.c b/irc_channel.c index 159c16dc..f000a997 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -264,6 +264,8 @@ static gboolean control_channel_init( irc_channel_t *ic ) if( ( icc->group = bee_group_by_name( ic->irc->b, ic->name + 1, FALSE ) ) ) icc->type = IRC_CC_TYPE_GROUP; + else if( ( icc->account = account_get( ic->irc->b, ic->name + 1 ) ) ) + icc->type = IRC_CC_TYPE_ACCOUNT; bee_irc_channel_update( ic->irc, ic, NULL ); -- cgit v1.2.3