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 eddefef86d949f8c13bd0a59fe94e483d1ea7eed..a2b4ce86cbf690aed4cbdbfa7daf187181ef1d02 100644
(file)
--- a/
cmd/show/badword.pl
+++ b/
cmd/show/badword.pl
@@
-3,8
+3,12
@@
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
-#
$Id$
+#
#
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);