Fixed checking for RESCAN kludge
This commit is contained in:
parent
752462d20f
commit
8df6384736
@ -427,7 +427,7 @@ abstract class Packet extends FTNBase implements \Iterator, \Countable
|
|||||||
if ($msg->errors->has('invalid-zone')) {
|
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));
|
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));
|
Notification::route('netmail',$this->fftn)->notify(new EchomailBadAddress($msg));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user