projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bring Curses uptodate in html
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index 61e6a5d3e9dd31dd2ac094d7e34ce168c8248256..c4a81c7f509b503a9c3025217f2a3f80b45c5177 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-508,7
+508,8
@@
sub rspfcheck
if ($nref) {
if ($nref->dxchan == $self) {
return 1 unless $user;
if ($nref) {
if ($nref->dxchan == $self) {
return 1 unless $user;
- return 1 if grep $user eq $_, $nref->users;
+ my @users = $nref->users;
+ return 1 if @users == 0 || grep $user eq $_, @users;
dbg("RSPF: $user not on $node") if isdbg('rspf');
} else {
dbg("RSPF: Shortest path for $node is " . $nref->dxchan->{call}) if isdbg('rspf');
dbg("RSPF: $user not on $node") if isdbg('rspf');
} else {
dbg("RSPF: Shortest path for $node is " . $nref->dxchan->{call}) if isdbg('rspf');