# HG changeset patch # User Matthew Wild # Date 1533757244 -3600 # Node ID c517a219f2acd0aa564c0e5b1410452184cb8914 # Parent f06484110817342b78bbcf0c74fadc3e9dc034df mod_pep: Add comment explaining 'none' affiliation diff -r f06484110817 -r c517a219f2ac plugins/mod_pep.lua --- a/plugins/mod_pep.lua Wed Aug 08 20:38:10 2018 +0100 +++ b/plugins/mod_pep.lua Wed Aug 08 20:40:44 2018 +0100 @@ -249,6 +249,9 @@ 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";