projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove references to DXCluster.pm
[spider.git]
/
cmd
/
show
/
log.pl
diff --git
a/cmd/show/log.pl
b/cmd/show/log.pl
index 106bfd47b9816bdb75f36108710dcdd0bdd4c753..570286f38f96170e8f4f0cd18fcb574b19c8861d 100644
(file)
--- a/
cmd/show/log.pl
+++ b/
cmd/show/log.pl
@@
-7,8
+7,6
@@
#
my $self = shift;
#
my $self = shift;
-return (1, $self->msg('e5')) if $self->priv < 9;
-
my $cmdline = shift;
my @f = split /\s+/, $cmdline;
my $f;
my $cmdline = shift;
my @f = split /\s+/, $cmdline;
my $f;
@@
-32,6
+30,10
@@
while ($f = shift @f) { # next field
$to = 20 unless $to;
$from = 0 unless $from;
$to = 20 unless $to;
$from = 0 unless $from;
+if ($self->priv < 6) {
+ $who = $self->call unless $who;
+ return (1, $self->msg('e5')) if $who ne $self->call;
+}
-@out = DXLog::print($from, $to, $main::systime, undef,
$who);
+@out = DXLog::print($from, $to, $main::systime, undef, $who);
return (1, @out);
return (1, @out);