X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=8ab5a6fbc7e4695974050d5e87d1fb3909ed22be;hb=776d7bb9277c9d24708e297f240395b51b0aaa93;hp=99ae22a90960dec138e9339f3f9c60bae7310d0d;hpb=ad7e69f78ee4c0593e1d7576a7c1fd3b13931f84;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index 99ae22a9..8ab5a6fb 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -119,15 +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, $BRANCH) = dxver(q$Revision$); - # object destruction sub DESTROY { @@ -472,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(); }