X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXMsg.pm;h=97aaa35514b21060cf8fc5ac78f09a47080a7a09;hb=ca18864d1264fadfe9869b630f05c950876c2169;hp=dd6d178e1f523acd79a6f9e9f023c001b2a416c2;hpb=0165dda006167dda28c20bd415c91cf029da0edb;p=spider.git diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index dd6d178e..97aaa355 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -11,6 +11,7 @@ # # PC28 field 11 is the RR required flag # PC28 field 12 is a VIA routing (ie it is a node call) +# package DXMsg; @@ -75,7 +76,7 @@ sub alloc $self->{msgno} = shift; my $to = shift; # $to =~ s/-\d+$//o; - $self->{to} = $to; + $self->{to} = ($to eq $main::mycall) ? $main::myalias : $to; my $from = shift; $from =~ s/-\d+$//o; $self->{from} = uc $from;