diff --git a/app/Services/Cron/FreenodeSync.php b/app/Services/Cron/FreenodeSync.php index 3d73b7ce..124d7b2b 100755 --- a/app/Services/Cron/FreenodeSync.php +++ b/app/Services/Cron/FreenodeSync.php @@ -74,8 +74,8 @@ final class FreenodeSync $aResultAll = []; foreach ($oFnSiteList as $oFnSite) { - $sFreenodeClient = $oFnSite->freenode_client ?? ''; - $aFreenodeClient = json_decode($sFreenodeClient, true); + $aSiteConfig = json_decode($oFnSite->config ?? '', true); + $aFreenodeClient = $aSiteConfig["freenode_client"] ?? []; $aData = []; $aData["site_code_short"] = $oFnSite->code_short;