actually commit the set/isolate patch!
[spider.git] / perl / DXProtHandle.pm
index 99eb71d27464c27299708a1a2590390ecbd84a01..e1b31bafbdf50ee15b27b46e7ee83f92ffc446ed 100644 (file)
@@ -616,8 +616,12 @@ sub handle_18
                }
 #              $self->{handle_xml}++ if DXXml::available() && $_[1] =~ /\bxml/;
                if ($_[1] =~ /\bpc9x/) {
-                       $self->{do_pc9x} = 1;
-                       dbg("Do px9x set on $self->{call}");
+                       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");