diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-03-23 13:38:55 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-03-23 13:38:55 +0000 |
commit | cbcb57fa24650c6ac001c4c1c9ab39a61b6266eb (patch) | |
tree | 559b2a167f9f1957894c2d4234b9dbf8de9a1ada /plugins/mod_register.lua | |
parent | e950ca77ebd29994699c944ba6758bde441118cf (diff) | |
download | prosody-cbcb57fa24650c6ac001c4c1c9ab39a61b6266eb.tar.gz prosody-cbcb57fa24650c6ac001c4c1c9ab39a61b6266eb.zip |
MUC: Allow kicking users with the same affiliation as the kicker (fixes #1724)
This is allowed by XEP-0045, which states:
"A moderator SHOULD NOT be allowed to revoke moderation privileges from
someone with a higher affiliation than themselves (i.e., an unaffiliated
moderator SHOULD NOT be allowed to revoke moderation privileges from an admin
or an owner, and an admin SHOULD NOT be allowed to revoke moderation
privileges from an owner)."
Diffstat (limited to 'plugins/mod_register.lua')
0 files changed, 0 insertions, 0 deletions