+04Nov01=======================================================================
+1. Allow the user to equal the node in RSPF checks (this allows spots and
+stuff with the origin and spotter to be the same (although it is STRONGLY
+recommended that they are NOT!!! [hint hint]).
02Nov01=======================================================================
1. fixed some Aliasing problems, but this whole area will have to be addressed
more comprehensively.
# the above regexp must work
unless (defined $sort && defined $call && defined $line) {
# $data =~ s/([\x00-\x1f\x7f-\xff])/uc sprintf("%%%02x",ord($1))/eg;
- dbg("DUFF Line on $chcall: $data") if isdbg('err');
+ dbg("DUFF Line on $chcall: $data");
return ();
}
if(ref($dxchan) && $call ne $chcall) {
- dbg("DUFF Line come in for $call on wrong channel $chcall") if isdbg('err');
+ dbg("DUFF Line come in for $call on wrong channel $chcall");
return();
}
if ($nref && $dxchan) {
if ($dxchan == $self) {
return 1 unless $user;
+ return 1 if $user eq $node;
my @users = $nref->users;
return 1 if @users == 0 || grep $user eq $_, @users;
- dbg("RSPF: $user not on $node") if isdbg('rspf');
+ dbg("RSPF: $user not on $node") if isdbg('chanerr');
} else {
- dbg("RSPF: Shortest path for $node is " . $nref->dxchan->{call}) if isdbg('rspf');
+ dbg("RSPF: Shortest path for $node is " . $nref->dxchan->{call}) if isdbg('chanerr');
}
} else {
return 1 if $flag;
- dbg("RSPF: required $node not found" ) if isdbg('rspf');
+ dbg("RSPF: required $node not found" ) if isdbg('chanerr');
}
return 0;
}