projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add set/buddy.
[spider.git]
/
perl
/
Thingy
/
Rt.pm
diff --git
a/perl/Thingy/Rt.pm
b/perl/Thingy/Rt.pm
index fd67e9cc4600532e18307240cd29c4610a6351e9..71b7a43aba7cd28070aec45b4a375c7c8f9b20e3 100644
(file)
--- a/
perl/Thingy/Rt.pm
+++ b/
perl/Thingy/Rt.pm
@@
-132,8
+132,7
@@
sub handle_cf
RouteDB::delete($call, $chan_call);
my $ref = Route::Node::get($call);
if ($ref) {
RouteDB::delete($call, $chan_call);
my $ref = Route::Node::get($call);
if ($ref) {
- my $r = $ref->del($parent);
- push @pc21, $r if $r;
+ push @pc21, grep {$_} $ref->del($parent);
}
}
}
}
}
}
@@
-142,8
+141,7
@@
sub handle_cf
next if $call eq $main::mycall;
RouteDB::update($call, $chan_call);
my $here = $in{$call};
next if $call eq $main::mycall;
RouteDB::update($call, $chan_call);
my $here = $in{$call};
- my $r = $parent->add($call, 0, $here);
- push @pc19, $r if $r;
+ push @pc19, grep {$_} $parent->add($call, 0, $here);
}
}
$thing->{pc21n} = \@pc21 if @pc21;
}
}
$thing->{pc21n} = \@pc21 if @pc21;