$to = 20 unless $to;
$from = 0 unless $from;
-@out = DXLog::print($from, $to, $main::systime, '^ann', $who);
+@out = DXLog::print($from, $to, $main::systime, 'ann', $who);
return (1, @out);
return (1, $self->msg('e5')) if $who ne $self->call;
}
-@out = DXLog::print($from, $to, $main::systime, $who);
+@out = DXLog::print($from, $to, $main::systime, undef, $who);
return (1, @out);
$to = 20 unless $to;
$from = 0 unless $from;
-@out = DXLog::print($from, $to, $main::systime, '^rcmd', $who);
+@out = DXLog::print($from, $to, $main::systime, 'rcmd', $who);
return (1, @out);
return (1, $self->msg('e5')) if $who ne $self->call;
}
-@out = DXLog::print($from, $to, $main::systime, '^talk', $who);
+@out = DXLog::print($from, $to, $main::systime, 'talk', $who);
return (1, @out);
my $count;
my $hint = "";
- $search = '1' unless $pattern || $who;
if ($pattern) {
- $search = "\$ref->[1] =~ m{$pattern}i";
+ $search = "\$ref->[1] =~ m{^$pattern}i";
$hint = "m{$pattern}i";
}
-
if ($who) {
if ($search) {
$search .= ' && ';
$hint .= 'm{$who}i';
}
$hint = "next unless $hint" if $hint;
+ $search = "1" unless $search;
$eval = qq(
\@in = ();