idon't route converted talks back down the incoming path
[spider.git] / perl / DXProt.pm
index ca6e4728466d2febcb7f12639235f38c30373632..02e3d3a80319741db555289dab5d85b8bc9b32bc 100644 (file)
@@ -525,7 +525,8 @@ sub normal
                                                if ((uc $to eq 'TO' && is_callsign(uc $call)) || is_callsign($call = uc $to)) {
                                                        my $ref = Route::get($call);
                                                        if ($ref) {
-                                                               $ref->dxchan->talk($field[1], $call, undef, $field[3], $field[5]);
+                                                               my $dxchan = $ref->dxchan;
+                                                               $dxchan->talk($field[1], $call, undef, $field[3], $field[5]) if $dxchan != $self;
                                                                return;
                                                        }
                                                }