diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-08-08 20:40:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-08-08 20:40:44 +0100 |
commit | df4f835fc8c0539d938406c9c29fc26aa920c0e0 (patch) | |
tree | 8bdb06143d6682ad136ea116799581b28782b881 /plugins | |
parent | 8d92ff25067bb8accb750f0f20a8f17ae030bc71 (diff) | |
download | prosody-df4f835fc8c0539d938406c9c29fc26aa920c0e0.tar.gz prosody-df4f835fc8c0539d938406c9c29fc26aa920c0e0.zip |
mod_pep: Add comment explaining 'none' affiliation
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pep.lua | 3 |
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"; |