X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fbadspotter.pl;h=472d15d5db6782c7a5e07de106569d41fa042593;hb=9b65e70322b24190bb5f677ccedcc000ab4625d2;hp=1110a0b8775bc7336c31943e03966d645d8a6fef;hpb=0a92a4608d715cd9cd7eec3c120da651fbb4da5b;p=spider.git diff --git a/cmd/show/badspotter.pl b/cmd/show/badspotter.pl index 1110a0b8..472d15d5 100644 --- a/cmd/show/badspotter.pl +++ b/cmd/show/badspotter.pl @@ -3,8 +3,12 @@ # # Copyright (c) 1998 - Dirk Koopman G1TLH # -# $Id$ +# # 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);