mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 07:47:10 +00:00
some small bug fixes
This commit is contained in:
parent
d0adf21cbc
commit
2d0b6bcb8b
2
Changes
2
Changes
@ -1,3 +1,5 @@
|
||||
30Sep01=======================================================================
|
||||
1. made some small bug fixes in rspf checking and also messages.
|
||||
23Sep01=======================================================================
|
||||
1. I have incorporated Steve's (K9AN) lastest sh/sun and sh/moon stuff which
|
||||
copes much better with some of the end effects that occur in these calc-
|
||||
|
@ -506,8 +506,9 @@ sub rspfcheck
|
||||
{
|
||||
my ($self, $flag, $node, $user) = @_;
|
||||
my $nref = Route::Node::get($node);
|
||||
if ($nref) {
|
||||
if ($nref->dxchan == $self) {
|
||||
my $dxchan = $nref->dxchan if $nref;
|
||||
if ($nref && $dxchan) {
|
||||
if ($dxchan == $self) {
|
||||
return 1 unless $user;
|
||||
my @users = $nref->users;
|
||||
return 1 if @users == 0 || grep $user eq $_, @users;
|
||||
|
@ -175,7 +175,7 @@ sub process
|
||||
|
||||
if (exists $busy{$fromnode}) {
|
||||
my $ref = $busy{$fromnode};
|
||||
my $tonode = $ref->{tonode};
|
||||
my $tonode = $ref->{tonode} || "unknown";
|
||||
dbg("Busy, stopping msgno: $ref->{msgno} $fromnode->$tonode") if isdbg('msg');
|
||||
$ref->stop_msg($self->call);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user