From 3eaeeac4f2683fc608460df6690f857270ca6a20 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 18 May 2002 03:26:04 +0000 Subject: [PATCH] channel_setup_create() didn't set record type. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2808 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/channels-setup.c | 2 ++ 1 file changed, 2 insertions(+) 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);