mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02: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:
parent
3b5b10791a
commit
3eaeeac4f2
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue