comparison plugins/mod_message.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
parents 41c959c5c84b
children 671f6b867e0d
comparison
equal deleted inserted replaced
9829:fdc42f685557 9830:d935a0f0de24