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 | 10e58af1abd74cd1bb668fc75b506b57fd77d86f (patch) | |
tree | d1db95f6b657122c972e44a87d389182279dd31f /util/datamanager.lua | |
parent | d940f0746902375820dd78d095a9c80cfb9f8709 (diff) | |
download | prosody-10e58af1abd74cd1bb668fc75b506b57fd77d86f.tar.gz prosody-10e58af1abd74cd1bb668fc75b506b57fd77d86f.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 'util/datamanager.lua')
0 files changed, 0 insertions, 0 deletions