BINKP responding to incoming netmail pings
This commit is contained in:
@@ -46,7 +46,7 @@ final class Send extends Item
|
||||
{
|
||||
switch ($key) {
|
||||
case 'fd':
|
||||
return is_resource($this->f);
|
||||
return is_resource($this->f) ?: $this->f;
|
||||
|
||||
case 'file_count':
|
||||
return $this->list
|
||||
@@ -228,8 +228,11 @@ final class Send extends Item
|
||||
public function mail(Address $ao): void
|
||||
{
|
||||
// Netmail
|
||||
if ($x=$ao->getNetmail())
|
||||
if ($x=$ao->getNetmail()) {
|
||||
Log::debug(sprintf('%s: - Netmail(s) added for sending to [%s]',__METHOD__,$ao->ftn));
|
||||
|
||||
$this->packets->push(new Mail($x,self::I_SEND));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user