added set/page and paging
[spider.git] / cmd / talk.pl
index 23efabfc5e2b64999ecfe0345fe325ab013ece98..a53b213e1f756a07e7e340dc32c7e22fe41b2e8a 100644 (file)
@@ -26,10 +26,12 @@ return (1, "$call not visible on the cluster") if !$ref;
 my $dxchan = DXCommandmode->get($to);         # is it for us?
 if ($dxchan && $dxchan->is_user) {
   $dxchan->send("$to de $from $line");
+  Log('talk', $to, $from, $main::mycall, $line);
 } else {
   $line =~ s/\^//og;            # remove any ^ characters
   my $prot = DXProt::pc10($from, $to, $via, $line);
   DXProt::route($via?$via:$to, $prot);
+  Log('talk', $to, $from, $via?$via:$main::mycall, $line);
 }
 
 return (1, ());