aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-27 16:32:12 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-27 16:32:12 +0100
commit547ea687b733113e06d7b941096b60632ac24de9 (patch)
tree28e9e38ab71d88293d1d01624891be09cde4fe5e /root_commands.c
parent84c3a72604a292c41348d678eccf1875263cb8dd (diff)
Save and load channels. Also fixing a bug in creating non-control channels
with a &-name.
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 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] ) )