]> dxcluster.org Git - spider.git/commitdiff
sort our priv levels in a more sophisticated way
authorminima <minima>
Fri, 17 Aug 2001 15:45:59 +0000 (15:45 +0000)
committerminima <minima>
Fri, 17 Aug 2001 15:45:59 +0000 (15:45 +0000)
cmd/show/station.pl

index 26f2bbe6489fbb7f3c0b0274ddf74a65a15d4ca7..d9f2b9d10d631f8feb433b5aec0f67159546b567 100644 (file)
@@ -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;