X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2FDXXml%2FCmd.pm;h=f56c270e80f478444c36957da15bbed5976b36f0;hp=e985b37d2d899856679a29152eff3ee03473433b;hb=b359511572b5dcd67dc17437e7ce4ca3574eada8;hpb=7858cc043933ba59f692637d6ef1d08b4c7b5681 diff --git a/perl/DXXml/Cmd.pm b/perl/DXXml/Cmd.pm index e985b37d..f56c270e 100644 --- a/perl/DXXml/Cmd.pm +++ b/perl/DXXml/Cmd.pm @@ -14,8 +14,8 @@ use DXDebug; use DXProt; use IsoTime; use Investigate; -use Time::HiRes qw(gettimeofday tv_interval); use DXXml::Text; +use DXLog; use vars qw($VERSION $BRANCH @ISA %pings); $VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); @@ -56,7 +56,7 @@ sub handle_input } Log('rcmd', 'in', $ref->{priv}, $self->{o}, "$self->{content}($answer)"); } - my $rep = DXXml::Text->new(u=>$self->{u}, to=>$self->{o}, content=>join('%0A', @in)); + my $rep = DXXml::Text->new(u=>$self->{u}, to=>$self->{o}, content=>join('%0A', map {"$main::mycall:$_"} @in)); $rep->route($main::me); # because it's coming from me! } else { $self->route($dxchan);