summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-18 03:26:04 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-18 03:26:04 +0000
commit3eaeeac4f2683fc608460df6690f857270ca6a20 (patch)
treedc59cc03ae562a2e449c4989f93ddd464b0c95f8
parent3b5b10791a2be7354a4c30e58887ea7f26fc762e (diff)
downloadirssi-3eaeeac4f2683fc608460df6690f857270ca6a20.zip
channel_setup_create() didn't set record type.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2808 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/core/channels-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/channels-setup.c b/src/core/channels-setup.c
index 62d43b2c..a61ccb56 100644
--- a/src/core/channels-setup.c
+++ b/src/core/channels-setup.c
@@ -54,6 +54,8 @@ static void channel_setup_save(CHANNEL_SETUP_REC *channel)
void channel_setup_create(CHANNEL_SETUP_REC *channel)
{
+ channel->type = module_get_uniq_id("CHANNEL SETUP", 0);
+
if (g_slist_find(setupchannels, channel) == NULL)
setupchannels = g_slist_append(setupchannels, channel);
channel_setup_save(channel);