aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index eb00aef9..66f0df5b 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -44,6 +44,11 @@ function check_node_config(node, actor, new_config) -- luacheck: ignore 212/node
if (new_config["max_items"] or 1) > max_max_items then
return false;
end
+ if new_config["access_model"] ~= "presence"
+ and new_config["access_model"] ~= "whitelist"
+ and new_config["access_model"] ~= "open" then
+ return false;
+ end
return true;
end