]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/NewsGroup.pm
config: remove try_cat
[public-inbox.git] / lib / PublicInbox / NewsGroup.pm
index 98a3595ad918931b7b3c8b4c319d02b5a479e79c..500f61e3a9b8d82c326025f81f3e9fd0e316e318 100644 (file)
@@ -13,7 +13,7 @@ require PublicInbox::Search;
 require PublicInbox::Git;
 
 sub new {
-       my ($class, $name, $git_dir, $address, $url) = @_;
+       my ($class, $newsgroup, $git_dir, $address, $url) = @_;
 
        # first email address is preferred
        $address = $address->[0] if ref($address);
@@ -24,7 +24,7 @@ sub new {
                $url .= '/' if $url !~ m!/\z!;
        }
        my $self = bless {
-               name => $name,
+               newsgroup => $newsgroup,
                git_dir => $git_dir,
                address => $address,
                url => $url,