projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add better new user logging in PC92/PC19
[spider.git]
/
cmd
/
show
/
badspotter.pl
diff --git
a/cmd/show/badspotter.pl
b/cmd/show/badspotter.pl
index 272e74c3250a20a571d2ee888b6c2f1ae702c4c1..472d15d5db6782c7a5e07de106569d41fa042593 100644
(file)
--- a/
cmd/show/badspotter.pl
+++ b/
cmd/show/badspotter.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 $DXProt::badspotter->show(1, $self);
return $DXProt::badspotter->show(1, $self);