Mercurial > prosody-modules
changeset 6449:054691d29c25
mod_muc_restrict_attention/mod_muc_restrict_attention.lua: fix trailing newline
| author | Menel <menel@snikket.de> |
|---|---|
| date | Fri, 13 Mar 2026 07:09:53 +0100 |
| parents | ee6ab6650c78 |
| children | 5c24fd7211c3 |
| files | mod_muc_restrict_attention/mod_muc_restrict_attention.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_restrict_attention/mod_muc_restrict_attention.lua Thu Mar 12 08:16:06 2026 +0100 +++ b/mod_muc_restrict_attention/mod_muc_restrict_attention.lua Fri Mar 13 07:09:53 2026 +0100 @@ -62,7 +62,7 @@ module:hook("muc-occupant-groupchat", function (event) local stanza = event.stanza - from_affiliation = event.room:get_affiliation(stanza.attr.from) + from_affiliation = event.room:get_affiliation(stanza.attr.from) if stanza.attr.type ~= "groupchat" or from_affiliation == "admin" or from_affiliation == "owner" then
