about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-05-24 22:48:55 +0000
committerEric Wong <e@80x24.org>2021-05-25 00:19:22 +0000
commitd21d8cae7f075d427f1b7dc2e8b40d42f488d2d4 (patch)
tree2671b9f50000255983394964886135cd256bc686 /lib
parent05727fbf963bee726e99e383855567235cc3d9ba (diff)
downloadpublic-inbox-d21d8cae7f075d427f1b7dc2e8b40d42f488d2d4.tar.gz
Fixes: a9bfba8eb31dbb4c ("lei inspect: use LeiMailSync->match_imap_url")
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/LeiExportKw.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiExportKw.pm b/lib/PublicInbox/LeiExportKw.pm
index 404570c5..d8ba8fd5 100644
--- a/lib/PublicInbox/LeiExportKw.pm
+++ b/lib/PublicInbox/LeiExportKw.pm
@@ -75,7 +75,7 @@ sub input_path_url {
                 my $mdir = $1;
                 require PublicInbox::LeiToMail; # kw2suffix
                 $lms->each_src($input, \&export_kw_md, $self, $mdir);
-        } elsif ($input =~ m!\Aimaps?://i!) {
+        } elsif ($input =~ m!\Aimaps?://!i) {
                 my $uri = PublicInbox::URIimap->new($input);
                 my $mic = $self->{nwr}->mic_for_folder($uri);
                 $lms->each_src($$uri, \&export_kw_imap, $self, $mic);