From 547ea687b733113e06d7b941096b60632ac24de9 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 27 Jun 2010 16:32:12 +0100 Subject: Save and load channels. Also fixing a bug in creating non-control channels with a &-name. --- root_commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'root_commands.c') diff --git a/root_commands.c b/root_commands.c index e075816a..b47ce078 100644 --- a/root_commands.c +++ b/root_commands.c @@ -1018,6 +1018,7 @@ static void cmd_chat( irc_t *irc, char **cmd ) } if( ( ic = irc_channel_new( irc, channel ) ) && + set_setstr( &ic->set, "type", "chat" ) && set_setstr( &ic->set, "chat_type", "room" ) && set_setstr( &ic->set, "account", cmd[2] ) && set_setstr( &ic->set, "room", cmd[3] ) ) -- cgit v1.2.3