X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=99ae22a90960dec138e9339f3f9c60bae7310d0d;hb=ad7e69f78ee4c0593e1d7576a7c1fd3b13931f84;hp=c9395e3e4d5dd0471f17e71dcc978fdeda482f92;hpb=1483f78fa8fff9f1d97e59127064f1e5d84da78c;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index c9395e3e..99ae22a9 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -119,14 +119,14 @@ $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', 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 @@ -384,7 +384,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;