actually commit the set/isolate patch!
[spider.git] / perl / DXProtHandle.pm
index 51585f01facee34ea0e1cabc536132d9c1bafaa6..e1b31bafbdf50ee15b27b46e7ee83f92ffc446ed 100644 (file)
@@ -615,9 +615,13 @@ sub handle_18
                        $self->sort('S');
                }
 #              $self->{handle_xml}++ if DXXml::available() && $_[1] =~ /\bxml/;
-               if (!$self->{isolate} && $_[1] =~ /\bpc9x/) {
-                       $self->{do_pc9x} = 1;
-                       dbg("Do px9x set on $self->{call}");
+               if ($_[1] =~ /\bpc9x/) {
+                       if ($self->{isolate}) {
+                               dbg("pc9x recognised, but is isolated, using old protocol");
+                       } else {
+                               $self->{do_pc9x} = 1;
+                               dbg("Do px9x set on $self->{call}");
+                       }
                }
        } else {
                dbg("Unknown software");