]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Friendica.php
Fixed:
[friendica.git] / src / Module / Friendica.php
index c6e2768bd300032519a894cf4e68afa863f5f6f8..2dbe5d7a9d61fc89860eb533d66c20f07678bc28 100644 (file)
@@ -94,8 +94,7 @@ class Friendica extends BaseModule
 
                $blockList = $this->config->get('system', 'blocklist') ?? [];
 
-               $register_policy_int = $this->config->get('config', 'register_policy');
-               if (!empty($blockList) && ($register_policy_int !== Register::CLOSED || $this->session->isAuthenticated())) {
+               if (!empty($blockList) && ($this->config->get('blocklist', 'published') || $this->session->isAuthenticated())) {
                        $blocked = [
                                'title'    => $this->t('On this server the following remote servers are blocked.'),
                                'header'   => [