X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fbadip.pl;h=1ed8225adb050de98ac87e7d388860c8785125e6;hb=4dcd43a5029c8908cb1de3aff459f121496a9a7e;hp=b33261b7faa473233bda582d38f5e890710afdc7;hpb=cbbf83baa54e859c382de79954607923cbb1b653;p=spider.git diff --git a/cmd/set/badip.pl b/cmd/set/badip.pl index b33261b7..1ed8225a 100644 --- a/cmd/set/badip.pl +++ b/cmd/set/badip.pl @@ -9,6 +9,8 @@ my ($self, $line) = @_; return (1, $self->msg('e5')) if $self->remotecmd; # are we permitted? return (1, $self->msg('e5')) if $self->priv < 6; +return (1, q{Please install Net::CIDR::Lite or libnet-cidr-lite-perl to use this command}) unless $DXCIDR::active; + my @out; my @added; my @in = split /\s+/, $line;