# HG changeset patch # User Matthew Wild # Date 1701367542 0 # Node ID 111e970213a0f21c811a3a6aa1b580efb234dad4 # Parent 561503e0c0f1f7c20b1a810b088ea133bfe1e002 mod_restrict_xmpp: Fix remaining hard-coded role name diff -r 561503e0c0f1 -r 111e970213a0 mod_restrict_xmpp/mod_restrict_xmpp.lua --- 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;