X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdirectory.pl;h=1e2193219ef984afc97bde2cc1e0dfbba04f5563;hb=eac4538f1f78b3d014539dc548fc6322e8337429;hp=7b9d6fc95ab3c41dd9740222d54e407759c81f3c;hpb=732e58eaf2e7ef261102aed4f03185fcc775668f;p=spider.git diff --git a/cmd/directory.pl b/cmd/directory.pl index 7b9d6fc9..1e219321 100644 --- a/cmd/directory.pl +++ b/cmd/directory.pl @@ -3,7 +3,7 @@ # # Copyright (c) Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; @@ -18,7 +18,7 @@ my $n = 0; my @all = grep {!$_->private || !($self->priv < 5 && $_->to ne $self->call && $_->from ne $self->call)} (DXMsg::get_all()); @all = grep {!$_->delete || ($self->priv >= 5 && $_->delete)} @all; -return (1, $self->msg('e3', 'directory', $line)) unless @all; +return (1, $self->msg('dir1')) unless @all; my $sel = 0; my $from = 0; my $to = $all[@all-1]->msgno; @@ -80,6 +80,6 @@ if (@ref) { last if ++$count >= $n; } } else { - push @out, $self->msg('e3', 'directory', $line); + push @out, $self->msg('dir1'); } return (1, @out);