From: minima Date: Fri, 17 Aug 2001 15:45:59 +0000 (+0000) Subject: sort our priv levels in a more sophisticated way X-Git-Tag: R_1_48~94 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=33c95e70cc90be9f60c4efd73717386b299048f7;p=spider.git sort our priv levels in a more sophisticated way --- diff --git a/cmd/show/station.pl b/cmd/show/station.pl index 26f2bbe6..d9f2b9d1 100644 --- a/cmd/show/station.pl +++ b/cmd/show/station.pl @@ -14,7 +14,8 @@ my $seek; push @f, $self->call unless @f; if (@f <= 2 && uc $f[0] eq 'ALL') { - return (1, $self->msg('e6')) if ($self->priv < 6); + return (1, $self->msg('e6')) if @f == 1 && $self->priv < 6; + return (1, $self->msg('e6')) if $self->priv < 5 || $f[1] eq '*'; shift @f; my $exp = shellregex(uc shift @f) if @f; my @calls;