aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index e416fe8b..47c73e1e 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -249,6 +249,9 @@ function get_pep_service(username)
access_models = {
presence = function (jid)
if subscription_presence(username, jid) then
+ -- This is their affiliation level which determines
+ -- permissions, it is acceptable to be a subscriber
+ -- with no affiliation.
return "none";
end
return "restricted";