projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to fix DXSubprocess errors
[spider.git]
/
cmd
/
unset
/
badword.pl
diff --git
a/cmd/unset/badword.pl
b/cmd/unset/badword.pl
index 519604f112822aa9a67b50825d62d43021019204..d2b7fe3153720c9328d4ada1e9b271fcaa7c2571 100644
(file)
--- a/
cmd/unset/badword.pl
+++ b/
cmd/unset/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->unset(8, $self->msg('e6'), $self, $line);
return $BadWords::badword->unset(8, $self->msg('e6'), $self, $line);