From: minima Date: Fri, 17 Aug 2001 01:14:32 +0000 (+0000) Subject: fix rmd replies to alias X-Git-Tag: R_1_48~97 X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=cc75f4ffe229e8ff381828f88a68c89cec818788 fix rmd replies to alias --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index ced5b4f0..ae5bae04 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1591,6 +1591,9 @@ sub process_rcmd_reply if ($s) { my $dxchan = DXChannel->get($s->{call}); my $ref = DXChannel->get($user) || $dxchan; + if ($ref->{call} eq $main::mycall) { + $ref = DXChannel->get($main::myalias) || $ref; + } $ref->send($line) if $ref; delete $rcmds{$fromnode} if !$dxchan; } else {