add pc93 talk messages
[spider.git] / perl / DXChannel.pm
index bf419cec07452ce674993085f99cc72acb2bce69..98617515981c8821f8590031aa41984ef277c253 100644 (file)
@@ -120,15 +120,13 @@ $count = 0;
                  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_pc93 => '9,Handles PC93,yesno',
                  inqueue => '9,Input Queue,parray',
                 );
 
+
 use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
+($VERSION, $BRANCH) = dxver(q$Revision$);
 
 # object destruction
 sub DESTROY
@@ -474,7 +472,7 @@ sub disconnect
        my $user = $self->{user};
        
        $user->close() if defined $user;
-       $self->{conn}->disconnect;
+       $self->{conn}->disconnect if $self->{conn};
        $self->del();
 }