aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_version.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
commit344b370b5e6367761a32da79587ad02a15604845 (patch)
treed1db95f6b657122c972e44a87d389182279dd31f /plugins/mod_version.lua
parent87d797878eafa659d1b009bb470ab88b44ff95a2 (diff)
downloadprosody-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