1. made login info not the default
2. change the looping protoection for PC16/17/19/21 and also be more rigorous
in who we accept which PC16/17/21's from.
+3. fix MAJOR disconnect bug introduced accidentally in the NP work.
30Sep01=======================================================================
1. made some small bug fixes in rspf checking and also messages.
23Sep01=======================================================================
my $dxchan = DXChannel->get($call);
if ($dxchan) {
if ($dxchan->is_node) {
-# $dxchan->send_now("D", DXProt::pc39($main::mycall, $self->msg('disc1', $self->call)));
+# $dxchan->send_pc39($self->msg('disc1', $self->call));
} else {
return (1, $self->msg('e5')) if $self->priv < 8;
$dxchan->send_now('D', $self->msg('disc1', $self->call));
}
}
+sub disconnect
+{
+ my $self = shift;
+ $self->DXProt::disconnect(@_);
+}
+
sub sendallnodes
{
my $nodes = join(',', map {sprintf("%s:%d", $_->{call}, int($_->{pingave} * $_->{metric}))} DXChannel::get_all_nodes());