]> Sergey Matveev's repositories - public-inbox.git/commitdiff
altid: fix miscopied field name
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Fri, 6 Apr 2018 21:44:36 +0000 (21:44 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Fri, 6 Apr 2018 21:45:00 +0000 (21:45 +0000)
Oops :x

lib/PublicInbox/AltId.pm

index f8aa4cb8cf71a244d369fc671bf3639d635acdb4..4a6ff97cc5e4aca470504123bbc30ce68dac6744 100644 (file)
@@ -39,7 +39,7 @@ sub mm_alt {
        my ($self) = @_;
        $self->{mm_alt} ||= eval {
                my $f = $self->{filename};
-               my $writable = $self->{filename};
+               my $writable = $self->{writable};
                PublicInbox::Msgmap->new_file($f, $writable);
        };
 }