X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=62773ab3312b7e1a488293eadf3d72aa97328603;hb=3fb4b66f6009196cf901f0f88fbf4837a8b8b6f9;hp=c9395e3e4d5dd0471f17e71dcc978fdeda482f92;hpb=1483f78fa8fff9f1d97e59127064f1e5d84da78c;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index c9395e3e..62773ab3 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -119,15 +119,11 @@ $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', + next_pc92_update => '9,Next PC92 Update,atime', ); -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 { @@ -384,7 +380,7 @@ sub send_later for (@lines) { $conn->send_later("$sort$call|$_"); # debug log it, but not if it is a log message - dbg("-> $sort $call $_") if $sort ne 'L' isdbg('chan'); + dbg("-> $sort $call $_") if $sort ne 'L' && isdbg('chan'); } } $self->{t} = time; @@ -472,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(); }