projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix export_users cmd
[spider.git]
/
perl
/
DXProtHandle.pm
diff --git
a/perl/DXProtHandle.pm
b/perl/DXProtHandle.pm
index 82e906037c085ff42fb49f34e9b3f7db8565423d..0f7a1ff381c08c409a9c98eec162ca1908076ceb 100644
(file)
--- a/
perl/DXProtHandle.pm
+++ b/
perl/DXProtHandle.pm
@@
-225,9
+225,10
@@
sub handle_11
Spot::add(@spot);
if (isdbg('progress')) {
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 .= " '$spot[3]'" if $spot[3];
- $s .= " from ip $spot[14]" if $spot[14];
dbg($s);
}
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);
# 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;
if (defined &Local::wwv) {
my $rep;
@@
-1371,6
+1373,7
@@
sub handle_73
}
my $wcy = WCY::update($d, @$pc[2..12]);
}
my $wcy = WCY::update($d, @$pc[2..12]);
+ dbg("WCY: " . join ', ', @$pc[2..12]) if isdbg('progress');
if (defined &Local::wcy) {
my $rep;
if (defined &Local::wcy) {
my $rep;
@@
-2011,6
+2014,12
@@
sub handle_93
return;
}
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;
# will we allow it at all?
if ($censorpc) {
my @bad;