add DXCommand::spawn_cmd and convert suitable cmds
[spider.git] / cmd / show / announce.pl
index 9ec0111b3cc491671ff4691a4fbf71d540fd5faa..3454140ecf3abe96d3b7f112794982d70aca0322 100644 (file)
@@ -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, 'ann', $who);
+@out = $self->spawn_cmd(\&DXLog::print, args => [$from, $to, $main::systime, 'ann', $who]);
+       
+#@out = DXLog::print($from, $to, $main::systime, 'ann', $who);
 return (1, @out);