add cmd line to forkcall stats
[spider.git] / cmd / show / chat.pl
index 3105c36b5ebb2a8f74bd9cff28a5139e4fa0e5aa..38d5b38ab8af5b813e0bb0bc37028e3f9c167f15 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 1998-2003 - Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 my $self = shift;
 
@@ -34,5 +34,7 @@ while ($f = shift @f) {                 # next field
 $to = 20 unless $to;
 $from = 0 unless $from;
 
-@out = DXLog::print($from, $to, $main::systime, 'chat', $who);
+@out = $self->spawn_cmd("show/chat $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, 'chat', $who]);
+       
+#@out = DXLog::print($from, $to, $main::systime, 'chat', $who);
 return (1, @out);