Software /
code /
prosody-modules
Changeset
5770:111e970213a0
mod_restrict_xmpp: Fix remaining hard-coded role name
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 30 Nov 2023 18:05:42 +0000 |
parents | 5769:561503e0c0f1 |
children | 5771:dfbced5e54b9 |
files | mod_restrict_xmpp/mod_restrict_xmpp.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_restrict_xmpp/mod_restrict_xmpp.lua Thu Nov 30 17:59:47 2023 +0000 +++ b/mod_restrict_xmpp/mod_restrict_xmpp.lua Thu Nov 30 18:05:42 2023 +0000 @@ -113,7 +113,7 @@ end end -module:default_permission("prosody:restricted", "xmpp:account:presence:write"); +module:default_permission(limited_user_role, "xmpp:account:presence:write"); module:hook("pre-presence/bare", function (event) if not event.to_self then return; end local stanza = event.stanza;