Rename BINKD to BINKP

This commit is contained in:
Deon George
2021-07-02 23:44:01 +10:00
parent 64fd264427
commit d56681a187
6 changed files with 15 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Log;
use App\Classes\Protocol\EMSI as EMSIClass;
use App\Classes\Protocol\EMSI;
use App\Classes\Sock\SocketException;
use App\Classes\Sock\SocketServer;
use App\Models\Setup;
@@ -36,7 +36,7 @@ class EMSIReceive extends Command
Log::info('Listening for EMSI connections...');
$server = new SocketServer(Setup::EMSI_PORT,Setup::EMSI_BIND);
$server->setConnectionHandler([new EMSIClass(Setup::findOrFail(config('app.id'))),'onConnect']);
$server->setConnectionHandler([new EMSI(Setup::findOrFail(config('app.id'))),'onConnect']);
try {
$server->listen();