Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epg query: fix thinko
  • Loading branch information
perexg committed Nov 28, 2014
1 parent 1f1b36a commit 452ca85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epg.c
Expand Up @@ -2552,7 +2552,7 @@ epg_query ( epg_query_t *eq, access_t *perm )
LIST_FOREACH(ctm, &tag->ct_ctms, ctm_tag_link) {
ch2 = ctm->ctm_channel;
if(ch2 == channel || channel == NULL)
if (channel_access(channel, perm, 0))
if (channel_access(ch2, perm, 0))
_eq_add_channel(eq, ch2);
}

Expand Down

0 comments on commit 452ca85

Please sign in to comment.