Software /
code /
prosody
Diff
plugins/muc/members_only.lib.lua @ 9830:d935a0f0de24
MUC: Factor out role change permission check into its own method
I would like to invert this logic so that it checks if the role change
is allowed instead of checking if it is not allowed as it does now, in
order to make it easier to understand.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 24 Feb 2019 16:18:30 +0100 |
parent | 9716:5281a795d6df |
child | 10449:2e36a54906e4 |
child | 11545:7b8a482f4efd |