Merge branch 'master' into SIMPLEROUTE
[spider.git] / perl / DXChannel.pm
index 699e87a8d8da0a4b27008413281cb0be4076af2f..8ab5a6fbc7e4695974050d5e87d1fb3909ed22be 100644 (file)
@@ -119,6 +119,7 @@ $count = 0;
                  lastmsgpoll => '0,Last Msg Poll,atime',
                  inscript => '9,In a script,yesno',
                  handle_xml => '9,Handles XML,yesno',
+                 do_pc9x => '9,Handles PC9x,yesno',
                  inqueue => '9,Input Queue,parray',
                 );
 
@@ -466,7 +467,7 @@ sub disconnect
        my $user = $self->{user};
        
        $user->close() if defined $user;
-       $self->{conn}->disconnect;
+       $self->{conn}->disconnect if $self->{conn};
        $self->del();
 }