diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-14 00:14:41 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-14 00:14:41 +0100 |
commit | 324c378cd2d3f208b000e1279d462665d163edb7 (patch) | |
tree | 833fd206bdc7caffcf260e6ee12d03f6fcfec120 /irc_channel.c | |
parent | b1af3e8750e81869c8c1d2a12c9c27f6913aa58d (diff) |
Move control channel autoconfiguration to irc_cmd_join() instead so that it
only triggers on channels created by the user. (And not at identify time,
which was causing odd problems on my test setup.)
Diffstat (limited to 'irc_channel.c')
-rw-r--r-- | irc_channel.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/irc_channel.c b/irc_channel.c index 70770bfb..6f9de637 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -548,24 +548,6 @@ 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( bee_group_by_name( ic->irc->b, ic->name + 1, FALSE ) ) - { - set_setstr( &ic->set, "group", ic->name + 1 ); - set_setstr( &ic->set, "fill_by", "group" ); - } - else if( set_setstr( &ic->set, "protocol", ic->name + 1 ) ) - { - set_setstr( &ic->set, "fill_by", "protocol" ); - } - else if( set_setstr( &ic->set, "account", ic->name + 1 ) ) - { - set_setstr( &ic->set, "fill_by", "account" ); - } - else - { - bee_irc_channel_update( ic->irc, ic, NULL ); - } - return TRUE; } |