X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fbaddx.pl;h=49133c514b9340a5b9b79a7176ea093bef09e4d1;hb=3cdd57e7baf63341fdcba6b764f304291ed0dbb2;hp=7780e46bbdad3c7f2b1db2f2b85a210a503d3dfe;hpb=0560e85c7f60462fccb5b54d5ec2c0d88338001e;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);