projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add help for wwv and wcy filter commands
[spider.git]
/
cmd
/
set
/
badnode.pl
diff --git
a/cmd/set/badnode.pl
b/cmd/set/badnode.pl
index 13d91e77a155e097a26178f8c59ab77e36c0bb0f..8af48111dbb8e4fb374bf52f6a79595aef826a7b 100644
(file)
--- a/
cmd/set/badnode.pl
+++ b/
cmd/set/badnode.pl
@@
-10,8
+10,9
@@
return (1, $self->msg('e5')) if $self->priv < 6;
my @f = split /\s+/, $line;
my @out;
for (@f) {
my @f = split /\s+/, $line;
my @out;
for (@f) {
+ return (1, $self->msg('e19')) if /[^\s\w_\-\/]/;
my $call = uc $_;
push @DXProt::nodx_node, $call;
my $call = uc $_;
push @DXProt::nodx_node, $call;
- push @out,
"$call is now a badnode"
;
+ push @out,
$self->msg('badnode1', $call)
;
}
return (1, @out);
}
return (1, @out);