projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
as previous log
[spider.git]
/
cmd
/
show
/
filter.pl
diff --git
a/cmd/show/filter.pl
b/cmd/show/filter.pl
index 345603b847456060293214f153246e4ad3f02b45..081ac02e987555061919a2b6f7dfcec030cb4a76 100644
(file)
--- a/
cmd/show/filter.pl
+++ b/
cmd/show/filter.pl
@@
-10,10
+10,12
@@
my @f = split /\s+/, $line;
my @out;
my $call = $self->call;
my @out;
my $call = $self->call;
-if (@f
&& $self->priv >= 8
) {
+if (@f) {
if (is_callsign(uc $f[0])) {
if (is_callsign(uc $f[0])) {
+ return (1, $self->msg('e5')) unless $self->priv >= 1;
$call = uc shift @f;
} elsif ($f[0] eq 'node_default' || $f[0] eq 'user_default') {
$call = uc shift @f;
} elsif ($f[0] eq 'node_default' || $f[0] eq 'user_default') {
+ return (1, $self->msg('e5')) unless $self->priv >= 1;
$call = shift @f;
}
}
$call = shift @f;
}
}