epggrab: channels - fix wrong condition in epggrab_channel_link_delete()
This commit is contained in:
parent
5d06c06b09
commit
3373ac6ba3
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ epggrab_channel_link_delete
|
|||
{
|
||||
LIST_REMOVE(ecl, ecl_chn_link);
|
||||
LIST_REMOVE(ecl, ecl_epg_link);
|
||||
if (!delconf && ecl->ecl_epggrab->mod->ch_save)
|
||||
if (delconf && ecl->ecl_epggrab->mod->ch_save)
|
||||
ecl->ecl_epggrab->mod->ch_save(ecl->ecl_epggrab->mod, ecl->ecl_epggrab);
|
||||
free(ecl);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue