aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index 5160b0ce..b124b115 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -114,7 +114,7 @@ end
function service:get_default_affiliation(node, actor, action) -- luacheck: ignore 212
local node_obj = self.nodes[node];
local access_model = node_obj and node_obj.config.access_model
- or self.config.node_defaults.access_model;
+ or self.node_defaults.access_model;
if access_model == "open" then
return "none";