Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ACL: fix the channel tag list creation
  • Loading branch information
perexg committed Aug 17, 2014
1 parent 5a4da40 commit b886d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/access.c
Expand Up @@ -292,7 +292,7 @@ access_update(access_t *a, access_entry_t *ae)
}
}

if(ae->ae_chtag) {
if(ae->ae_chtag && ae->ae_chtag[0] != '\0') {
if (a->aa_chtags == NULL)
a->aa_chtags = htsmsg_create_list();
htsmsg_add_str(a->aa_chtags, NULL, ae->ae_chtag);
Expand Down

0 comments on commit b886d19

Please sign in to comment.