aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_unknown.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-02-24 16:18:30 +0100
committerKim Alvefur <zash@zash.se>2019-02-24 16:18:30 +0100
commit10e58af1abd74cd1bb668fc75b506b57fd77d86f (patch)
treed1db95f6b657122c972e44a87d389182279dd31f /plugins/mod_unknown.lua
parentd940f0746902375820dd78d095a9c80cfb9f8709 (diff)
downloadprosody-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 'plugins/mod_unknown.lua')
0 files changed, 0 insertions, 0 deletions