From 93272f57a9126c6b202daaba69ffe1a81ce6ee49 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 21 May 2024 21:29:21 +1000 Subject: [PATCH] Fixed checking for RESCAN kludge --- app/Classes/FTN/Packet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/FTN/Packet.php b/app/Classes/FTN/Packet.php index 3b3dc55..837f2a1 100644 --- a/app/Classes/FTN/Packet.php +++ b/app/Classes/FTN/Packet.php @@ -427,7 +427,7 @@ abstract class Packet extends FTNBase implements \Iterator, \Countable if ($msg->errors->has('invalid-zone')) { Log::alert(sprintf('%s:! Message [%s] is from an invalid zone [%s], packet is from [%s] - ignoring it',self::LOGKEY,$msg->msgid,$msg->fftn->zone->zone_id,$this->fftn->zone->zone_id)); - if (! $msg->rescanned->count()) + if (! $msg->kludges->get('RESCANNED')) Notification::route('netmail',$this->fftn)->notify(new EchomailBadAddress($msg)); return;