X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProtHandle.pm;h=0f7a1ff381c08c409a9c98eec162ca1908076ceb;hb=a460c345801374bfdccaf135ab1b03e5115f4266;hp=82e906037c085ff42fb49f34e9b3f7db8565423d;hpb=f6abc902d49e13eeca3ff50f84a74f28a3aa3390;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 82e90603..0f7a1ff3 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -225,9 +225,10 @@ sub handle_11 Spot::add(@spot); if (isdbg('progress')) { - my $s = sprintf "SPOT: $spot[1] on $spot[0] \@ %s by $spot[4]\@$spot[7]", cldatetime($spot[2]); + my $ip = ''; + $ip = sprintf "($spot[14])" if $spot[14]; + my $s = sprintf "SPOT: $spot[1] on $spot[0] \@ %s by $spot[4]$ip\@$spot[7]", cldatetime($spot[2]); $s .= " '$spot[3]'" if $spot[3]; - $s .= " from ip $spot[14]" if $spot[14]; dbg($s); } @@ -968,6 +969,7 @@ sub handle_23 # note this only takes the first one it gets Geomag::update($d, $pc->[2], $sfi, $k, $i, @$pc[6..8], $r); + dbg("WWV: $d $pc->[2], sfi:$sfi k:$k info:$i $pc->[6] $pc->[7] $pc->[8] $r") if isdbg('progress'); if (defined &Local::wwv) { my $rep; @@ -1371,6 +1373,7 @@ sub handle_73 } my $wcy = WCY::update($d, @$pc[2..12]); + dbg("WCY: " . join ', ', @$pc[2..12]) if isdbg('progress'); if (defined &Local::wcy) { my $rep; @@ -2011,6 +2014,12 @@ sub handle_93 return; } + if (isdbg('progress')) { + my $vs = $via ne '*' ? " via $via" : ''; + my $s = "ANNTALK: $from\@$onode$via -> $to '$text'"; + dbg($s); + } + # will we allow it at all? if ($censorpc) { my @bad;