projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add better explanation of .issue thing
[spider.git]
/
cmd
/
directory.pl
diff --git
a/cmd/directory.pl
b/cmd/directory.pl
index 39131aaa7dcbda9280af8e55bc1039aa015631da..7b9d6fc95ab3c41dd9740222d54e407759c81f3c 100644
(file)
--- a/
cmd/directory.pl
+++ b/
cmd/directory.pl
@@
-13,7
+13,11
@@
my $ref;
my @out;
my $f;
my $n = 0;
my @out;
my $f;
my $n = 0;
+
+# select candidates
my @all = grep {!$_->private || !($self->priv < 5 && $_->to ne $self->call && $_->from ne $self->call)} (DXMsg::get_all());
my @all = grep {!$_->private || !($self->priv < 5 && $_->to ne $self->call && $_->from ne $self->call)} (DXMsg::get_all());
+@all = grep {!$_->delete || ($self->priv >= 5 && $_->delete)} @all;
+
return (1, $self->msg('e3', 'directory', $line)) unless @all;
my $sel = 0;
my $from = 0;
return (1, $self->msg('e3', 'directory', $line)) unless @all;
my $sel = 0;
my $from = 0;