From 5b9808f2a93a94c86b8b05a54270007973f88313 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 31 Jan 2019 08:28:41 +0000 Subject: config: tiny cleanup to use _array() sub --- lib/PublicInbox/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index ccfc114f..da443e58 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -32,7 +32,7 @@ sub new { $self->{-code_repos} ||= {}; # nick => PublicInbox::Git object if (my $no = delete $self->{'publicinbox.noobfuscate'}) { - $no = [ $no ] if ref($no) ne 'ARRAY'; + $no = _array($no); my @domains; foreach my $n (@$no) { my @n = split(/\s+/, $n); -- cgit v1.2.3-24-ge0c7