]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/NNTP.pm
nntp: fix NEWNEWS command
[public-inbox.git] / lib / PublicInbox / NNTP.pm
index 895e5023a50b702c17df31f82e86f1e203d97f9c..fb65ddc07dc060db7027bd86671d4f940776888a 100644 (file)
@@ -336,7 +336,7 @@ sub cmd_newnews ($$$$;$$) {
        long_response($self, 0, long_response_limit, sub {
                my ($i) = @_;
                my $srch = $srch[0];
-               my $res = $srch->query($ts, $opts);
+               my $res = $srch->query_ts($ts, $opts);
                my $msgs = $res->{msgs};
                if (my $nr = scalar @$msgs) {
                        more($self, '<' .