]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Filter/RubyLang.pm
update copyrights for 2021
[public-inbox.git] / lib / PublicInbox / Filter / RubyLang.pm
index 06e4ea7545c4e8e4d91e49d4f9a8fdefcf38ce77..09aa6aa81d11bd6524e13446cff8dd639f26e49e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2017-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 
 # Filter for lists.ruby-lang.org trailers
@@ -16,7 +16,7 @@ sub new {
        my ($class, %opts) = @_;
        my $altid = delete $opts{-altid};
        my $self = $class->SUPER::new(%opts);
-       my $ibx = $self->{-inbox};
+       my $ibx = $self->{ibx};
        # altid = serial:ruby-core:file=msgmap.sqlite3
        if (!$altid && $ibx && $ibx->{altid}) {
                $altid ||= $ibx->{altid}->[0];