projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2. fix stat/msg a bit more
[spider.git]
/
cmd
/
show
/
log.pl
diff --git
a/cmd/show/log.pl
b/cmd/show/log.pl
index 26b99ef213fc062a514edf47012e2b6a7dd0c3bd..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 < 6;
-
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);