diff options
author | Kim Alvefur <zash@zash.se> | 2019-02-24 16:18:30 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-02-24 16:18:30 +0100 |
commit | 344b370b5e6367761a32da79587ad02a15604845 (patch) | |
tree | d1db95f6b657122c972e44a87d389182279dd31f /plugins/mod_version.lua | |
parent | 87d797878eafa659d1b009bb470ab88b44ff95a2 (diff) | |
download | prosody-344b370b5e6367761a32da79587ad02a15604845.tar.gz prosody-344b370b5e6367761a32da79587ad02a15604845.zip |
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.
Diffstat (limited to 'plugins/mod_version.lua')
0 files changed, 0 insertions, 0 deletions