chop out all the external linking and add prototype pc92 sentence.
[spider.git] / perl / DXChannel.pm
index e93370dd108c7d40e57cdcbe64212a845131cea4..bf419cec07452ce674993085f99cc72acb2bce69 100644 (file)
@@ -119,6 +119,8 @@ $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',
                 );
 
@@ -359,7 +361,8 @@ sub send_now
         my @lines = split /\n/;
                for (@lines) {
                        $conn->send_now("$sort$call|$_");
-                       dbg("-> $sort $call $_") if isdbg('chan');
+                       # debug log it, but not if it is a log message
+                       dbg("-> $sort $call $_") if $sort ne 'L' && isdbg('chan');
                }
        }
        $self->{t} = time;
@@ -382,7 +385,8 @@ sub send_later
         my @lines = split /\n/;
                for (@lines) {
                        $conn->send_later("$sort$call|$_");
-                       dbg("-> $sort $call $_") if isdbg('chan');
+                       # debug log it, but not if it is a log message
+                       dbg("-> $sort $call $_") if $sort ne 'L' && isdbg('chan');
                }
        }
        $self->{t} = time;