allow local PC19 to generate pc92 A again.
[spider.git] / perl / DXProtHandle.pm
index a91c3ce63df5535f803fe90b860e5499cba44b76..add5c521df7a541895a66010c1aa1cb7746df3e3 100644 (file)
@@ -558,6 +558,11 @@ sub handle_17
                }
        }
 
+       if (DXChannel::get($ucall)) {
+               dbg("PCPROT: trying do disconnect local user, ignored") if isdbg('chanerr');
+               return;
+       }
+
        # input filter if required and then remove user if present
        if ($parent) {
 #              return unless $self->in_filter_route($parent);  
@@ -763,7 +768,7 @@ sub handle_19
                $self->route_pc19($self->{call}, $line, @rout);
        }
        if (@pc92out) {
-#              $self->route_pc92a($main::mycall, $line, $main::routeroot, @pc92out) if $self->{state} eq 'normal';
+               $self->route_pc92a($main::mycall, $line, $main::routeroot, @pc92out) if $self->{state} eq 'normal';
        }
 }