diff --git a/app/Tasks/Irrdb/UpdatePrefixDb.php b/app/Tasks/Irrdb/UpdatePrefixDb.php index b17c02836..c7deac789 100644 --- a/app/Tasks/Irrdb/UpdatePrefixDb.php +++ b/app/Tasks/Irrdb/UpdatePrefixDb.php @@ -49,7 +49,7 @@ class UpdatePrefixDb extends UpdateDb public function update(): array { foreach( $this->protocols() as $protocol ) { - if( $this->customer()->isRouteServerClient( $protocol ) && $this->customer()->isIrrdbFiltered() ) { + if( $this->customer()->isRouteServerClient( $protocol ) && $this->customer()->isIrrdbFiltered() && $this->customer()->getIRRDB() ) { $this->bgpq3()->setSources( $this->customer()->getIRRDB()->getSource() ); $this->startTimer();