]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
ACL: fix the channel tag list creation
authorJaroslav Kysela <perex@perex.cz>
Sun, 17 Aug 2014 17:59:41 +0000 (19:59 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 17 Aug 2014 17:59:41 +0000 (19:59 +0200)
src/access.c

index 9fb97c1ac3b1a28f662501ad712eefa9218bf8ee..e99d6d796a384a1df9888716d095982e662381af 100644 (file)
@@ -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);