aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-04 11:16:07 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-04 11:16:07 +0100
commitc8eeadd72286b87cc1638e388669e00e8c8b9f1e (patch)
treeeba8580124c02c2229a6158cd8a85aa010c7f523 /root_commands.c
parent0bd948edfea280cf9f05e21cd5bef4b7fdf3335c (diff)
Added automatic joining of channels. Auto-rejoin functionality for
groupchats not reimplemented yet but that's the next step.
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c
index 127570e6..62fe1e79 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -156,6 +156,7 @@ static void cmd_identify( irc_t *irc, char **cmd )
irc_setpass( irc, password );
irc->status |= USTATUS_IDENTIFIED;
irc_umode_set( irc, "+R", 1 );
+ irc_channel_auto_joins( irc, NULL );
if( load && set_getbool( &irc->b->set, "auto_connect" ) )
cmd_account( irc, account_on );
break;