projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip
[spider.git]
/
cmd
/
show
/
badword.pl
diff --git
a/cmd/show/badword.pl
b/cmd/show/badword.pl
index 0b5bbec3a84828feb77e9222b8c248dfc23ce5fd..a2b4ce86cbf690aed4cbdbfa7daf187181ef1d02 100644
(file)
--- a/
cmd/show/badword.pl
+++ b/
cmd/show/badword.pl
@@
-6,5
+6,9
@@
#
#
my ($self, $line) = @_;
#
#
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);
return $BadWords::badword->show(1, $self);