Fix EMSI session undefined, other minor cosmetic code changes
This commit is contained in:
parent
369f8e48fe
commit
4d3d57fdcd
@ -1173,6 +1173,8 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
{
|
||||
Log::debug(sprintf('%s:+ wazoosend [%d]',self::LOGKEY,$zap));
|
||||
|
||||
$z = NULL;
|
||||
|
||||
// See if there is anything to add to the outbound
|
||||
// Add our mail to the queue if we have authenticated
|
||||
if ($this->node->aka_authed)
|
||||
@ -1186,6 +1188,6 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
}
|
||||
|
||||
Log::debug(sprintf('%s:- Finished sending',self::LOGKEY));
|
||||
return ($z->zmodem_senddone()<0);
|
||||
return (($z && $z->zmodem_senddone())<0);
|
||||
}
|
||||
}
|
@ -8,8 +8,7 @@ use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Notification;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
use App\Classes\{ANSI,Fonts\Thin,Page};
|
||||
use App\Classes\Fonts\Thick;
|
||||
use App\Classes\{ANSI,Fonts\Thin,Fonts\Thick,Page};
|
||||
use App\Classes\FTN\Message;
|
||||
use App\Models\{Address,Netmail,Setup,User};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user