X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=e386d0849e2b5330c53a8727d1511d0eb065640f;hb=7b9256ceade8b18b48f848c9ac659c2de7322b0b;hp=bf419cec07452ce674993085f99cc72acb2bce69;hpb=dab9e3607e7a6592fc3e316cc83ab17fcd09cb61;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index bf419cec..e386d084 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -119,16 +119,10 @@ $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', ); -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; # object destruction sub DESTROY @@ -474,7 +468,7 @@ sub disconnect my $user = $self->{user}; $user->close() if defined $user; - $self->{conn}->disconnect; + $self->{conn}->disconnect if $self->{conn}; $self->del(); }