change do_pc92 to do_pc9x
[spider.git] / perl / DXChannel.pm
index 99ae22a90960dec138e9339f3f9c60bae7310d0d..2337d959a84f6820c1c0e03370f1fe7856019f96 100644 (file)
@@ -119,8 +119,7 @@ $count = 0;
                  lastmsgpoll => '0,Last Msg Poll,atime',
                  inscript => '9,In a script,yesno',
                  handle_xml => '9,Handles XML,yesno',
-                 do_pc92 => '9,Handles PC92,yesno',
-                 send_pc92 => '9,Send PC92,atime',
+                 do_pc9x => '9,Handles PC9x,yesno',
                  inqueue => '9,Input Queue,parray',
                 );
 
@@ -472,7 +471,7 @@ sub disconnect
        my $user = $self->{user};
        
        $user->close() if defined $user;
-       $self->{conn}->disconnect;
+       $self->{conn}->disconnect if $self->{conn};
        $self->del();
 }