X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fbadspotter.pl;h=472d15d5db6782c7a5e07de106569d41fa042593;hb=3cdd57e7baf63341fdcba6b764f304291ed0dbb2;hp=272e74c3250a20a571d2ee888b6c2f1ae702c4c1;hpb=0560e85c7f60462fccb5b54d5ec2c0d88338001e;p=spider.git diff --git a/cmd/show/badspotter.pl b/cmd/show/badspotter.pl index 272e74c3..472d15d5 100644 --- a/cmd/show/badspotter.pl +++ b/cmd/show/badspotter.pl @@ -6,5 +6,9 @@ # # my ($self, $line) = @_; +return (1, $self->msg('e5')) if $self->remotecmd; +# are we permitted? +return (1, $self->msg('e5')) if $self->priv < 6; +$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line)); return $DXProt::badspotter->show(1, $self);