X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=94c836344e54df81cdf098f4e3719a9940c0ee75;hb=7ac0ed9d6ff3a1953cdd6b210854381e3978f330;hp=71efaef733d2db6d0c0f68b51384bb74d0b87535;hpb=c1a9cb4e04fb7db7898b05542e671c4e9e55fb93;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 71efaef7..94c83634 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -54,9 +54,6 @@ $cmdimportdir = "$main::root/cmd_import"; # the base directory for importing com # this does not exist as default, you need to create it manually # -use vars qw($VERSION $BRANCH); -($VERSION, $BRANCH) = dxver(q$Revision$); - # # obtain a new connection this is derived from dxchannel # @@ -830,7 +827,7 @@ sub local_send # send a talk message here sub talk { - my ($self, $from, $to, $via, $line) = @_; + my ($self, $from, $to, $via, $line, $onode) = @_; $line =~ s/\\5E/\^/g; if ($self->{talk}) { if ($self->{gtk}) { @@ -839,7 +836,7 @@ sub talk $self->local_send('T', "$to de $from: $line"); } } - Log('talk', $to, $from, $via?$via:$main::mycall, $line); + Log('talk', $to, $from, '<' . ($onode || '*'), $line); # send a 'not here' message if required unless ($self->{here} && $from ne $to) { my $key = "$to$from";