1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

channel_setup_create() didn't set record type.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2808 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-05-18 03:26:04 +00:00 committed by cras
parent 3b5b10791a
commit 3eaeeac4f2

View File

@ -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);