X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fbaddx.pl;h=49133c514b9340a5b9b79a7176ea093bef09e4d1;hb=refs%2Fheads%2Fstaging;hp=7780e46bbdad3c7f2b1db2f2b85a210a503d3dfe;hpb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;p=spider.git diff --git a/cmd/show/baddx.pl b/cmd/show/baddx.pl index 7780e46b..49133c51 100644 --- a/cmd/show/baddx.pl +++ b/cmd/show/baddx.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::baddx->show(1, $self);