X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Fshow%2Ffilter.pl;fp=cmd%2Fshow%2Ffilter.pl;h=081ac02e987555061919a2b6f7dfcec030cb4a76;hb=741df15be42033db97000fc0d167341bc0deabb0;hp=345603b847456060293214f153246e4ad3f02b45;hpb=f9ee7af6576291eb5e60f5683b31f5a9b32bd986;p=spider.git diff --git a/cmd/show/filter.pl b/cmd/show/filter.pl index 345603b8..081ac02e 100644 --- a/cmd/show/filter.pl +++ b/cmd/show/filter.pl @@ -10,10 +10,12 @@ my @f = split /\s+/, $line; my @out; my $call = $self->call; -if (@f && $self->priv >= 8) { +if (@f) { if (is_callsign(uc $f[0])) { + return (1, $self->msg('e5')) unless $self->priv >= 1; $call = uc shift @f; } elsif ($f[0] eq 'node_default' || $f[0] eq 'user_default') { + return (1, $self->msg('e5')) unless $self->priv >= 1; $call = shift @f; } }