aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-08 15:12:32 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-08 15:12:32 +0100
commitfd45e1d1d63761a0bf18c7ad885d72acd6367746 (patch)
treec1efe00a081d3c4ec85c5679bd809d2a2d7a1ab7 /irc.c
parentb0364dc3b881e4b5e9afd1ff62d5b3cc792a87ca (diff)
Always show normal contacts in &bitlbee, not just the first channel in the
list.
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index 4a7ba332..39943877 100644
--- a/irc.c
+++ b/irc.c
@@ -635,7 +635,7 @@ int irc_check_login( irc_t *irc )
irc->umode[0] = '\0';
irc_umode_set( irc, "+" UMODE, TRUE );
- ic = irc_channel_new( irc, ROOT_CHAN );
+ ic = irc->default_channel = irc_channel_new( irc, ROOT_CHAN );
irc_channel_set_topic( ic, CONTROL_TOPIC, irc->root );
irc_channel_add_user( ic, irc->user );