add DXCommand::spawn_cmd and convert suitable cmds
[spider.git] / cmd / show / chat.pl
index 7895c3b56523929d7fa54588ff309273a853574e..5ac6312e2714218e9af1f0f40e5abbd4df356467 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, 'chat', $who);
+@out = $self->spawn_cmd(\&DXLog::print, args => [$from, $to, $main::systime, 'chat', $who]);
+       
+#@out = DXLog::print($from, $to, $main::systime, 'chat', $who);
 return (1, @out);