projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix badword, ipv6 address detect, add CTY
[spider.git]
/
cmd
/
show
/
badword.pl
diff --git
a/cmd/show/badword.pl
b/cmd/show/badword.pl
index a2b4ce86cbf690aed4cbdbfa7daf187181ef1d02..a8ef5c571508cbc9bccbeeea50d149a473b24294 100644
(file)
--- a/
cmd/show/badword.pl
+++ b/
cmd/show/badword.pl
@@
-9,6
+9,5
@@
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 $BadWords::badword->show(1, $self);