X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fbadip.pl;h=1ed8225adb050de98ac87e7d388860c8785125e6;hb=7e7131f3574cd4a3a4183251b35c9d91e43a6a39;hp=b33261b7faa473233bda582d38f5e890710afdc7;hpb=33e829e2e2c697ed86a16c9945b38c30570266eb;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;