# and old dupes with $t = 234, $lastid = 256 (which give answers 249 and
# 86378 respectively in the calculation below).
#
- if (($t-$lastid)%86400 > $pc9x_past_age) {
+ if ($t+86400-$lastid > $pc9x_past_age) {
dbg("PCPROT: dup id on $t <= lastid $lastid, ignored") if isdbg('chanerr') || isdbg('pc92dedupe');
return undef;
}
} elsif ($create) {
$parent = Route::Node->new($call);
} else {
+ dbg("PCPROT: $call does not exist, ignored") if isdbg('pc92dedupe');
return undef;
}
if (isdbg('pc92dedupe')) {