about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 9e567476..bc76cdcd 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -216,7 +216,7 @@ sub get_feedopts {
                 close $fh;
         }
 
-        if ($pi_config && defined $listname && length $listname) {
+        if ($pi_config && defined $listname && $listname ne '') {
                 foreach my $key (qw(address)) {
                         $rv{$key} = $pi_config->get($listname, $key) || "";
                 }