]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/NNTP.pm
www: move mirror instructions to /text/
[public-inbox.git] / lib / PublicInbox / NNTP.pm
index 13a68bb86af8690b4c6b703d80fadfad332b8345..ea9ce18358f984e546d86b501defde569d8ac4ec 100644 (file)
@@ -210,7 +210,7 @@ sub listgroup_range_i {
 
 sub listgroup_all_i {
        my ($self, $num) = @_;
-       my $ary = $self->{ibx}->mm(1)->ids_after($num);
+       my $ary = $self->{ibx}->over(1)->ids_after($num);
        scalar(@$ary) or return;
        more($self, join("\r\n", @$ary));
        1;
@@ -241,7 +241,7 @@ sub parse_time ($$;$) {
                $gmt = 1;
        }
        my ($YYYY, $MM, $DD);
-       if (bytes::length($date) == 8) { # RFC 3977 allows YYYYMMDD
+       if (length($date) == 8) { # RFC 3977 allows YYYYMMDD
                ($YYYY, $MM, $DD) = unpack('A4A2A2', $date);
        } else { # legacy clients send YYMMDD
                my $YY;