diff options
Diffstat (limited to 'irc_channel.c')
-rw-r--r-- | irc_channel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/irc_channel.c b/irc_channel.c index e6570f4c..159c16dc 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -262,6 +262,11 @@ static gboolean control_channel_init( irc_channel_t *ic ) ic->data = icc = g_new0( struct irc_control_channel, 1 ); icc->type = IRC_CC_TYPE_DEFAULT; + if( ( icc->group = bee_group_by_name( ic->irc->b, ic->name + 1, FALSE ) ) ) + icc->type = IRC_CC_TYPE_GROUP; + + bee_irc_channel_update( ic->irc, ic, NULL ); + return TRUE; } |