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 0b5bbec3a84828feb77e9222b8c248dfc23ce5fd..a8ef5c571508cbc9bccbeeea50d149a473b24294 100644
(file)
--- a/
cmd/show/badword.pl
+++ b/
cmd/show/badword.pl
@@
-6,5
+6,8
@@
#
#
my ($self, $line) = @_;
+return (1, $self->msg('e5')) if $self->remotecmd;
+# are we permitted?
+return (1, $self->msg('e5')) if $self->priv < 6;
return $BadWords::badword->show(1, $self);