$localonly++;
}
-dbg "spotter $spotternoid/$callnoid\n";
+#dbg "spotter $spotternoid/$callnoid\n";
if (($spotted =~ /$spotternoid/ || $spotted =~ /$callnoid/) && $freq < $Spot::minselfspotqrg) {
LogDbg('DXCommand', "$spotternoid/$callnoid trying to self spot below ${Spot::minselfspotqrg}KHz ($oline) from $addr, not passed on to cluster");
#}
$self->dx_spot(undef, undef, @spot);
+ dbg "$self->{call} islugged until " . atime($self->{isslugged}) if $self->{isslugged} && isdbg('sh/dx');
if ($self->isslugged) {
push @{$self->{sluggedpcs}}, [61, $spot, \@spot];
} else {
my $host = $self->{conn}->peerhost;
$host ||= "AGW Port #$self->{conn}->{agwport}" if exists $self->{conn}->{agwport};
$host ||= "unknown";
+ $self->{hostname} = $host;
LogDbg('DXCommand', "$call connected from $host");
$self->{name} = $name ? $name : $call;
$self->{ann_talk} = $user->wantann_talk;
$self->{here} = 1;
$self->{prompt} = $user->prompt if $user->prompt;
+ $self->{lastmsgpoll} = 0;
# sort out new dx spot stuff
$user->wantdxcq(0) unless defined $user->{wantdxcq};
}
}
- $self->lastmsgpoll($main::systime);
+ $self->{lastmsgpoll} = $main::systime;
$self->prompt;
}
my $dxchan;
foreach $dxchan (@dxchan) {
- next if $dxchan->is_user;
+ next unless $dxchan->is_user;
# send a outstanding message prompt if required
if ($t >= $dxchan->lastmsgpoll + $msgpolltime) {
$dxchan->send($dxchan->msg('m9')) if DXMsg::for_me($dxchan->call);
- $dxchan->lastmsgpoll($t);
+ $dxchan->{lastmsgpoll} = $t;
}
# send a prompt if no activity out on this channel
$pc9x_dupe_age = 60; # catch loops of circular (usually) D records
$pc10_dupe_age = 45; # just something to catch duplicate PC10->PC93 conversions
-$pc92_slug_changes = 60*1; # slug any changes going outward for this long
-$last_pc92_slug = 0; # the last time we sent out any delayed add or del PC92s
+$pc92_slug_changes = 60*2; # slug any changes going outward for this long
+$last_pc92_slug = time; # the last time we sent out any delayed add or del PC92s
$pc9x_time_tolerance = 15*60; # the time on a pc9x is allowed to be out by this amount
$pc9x_past_age = (122*60)+ # maximum age in the past of a px9x (a config record might be the only
$pc9x_time_tolerance; # thing a node might send - once an hour and we allow an extra hour for luck)