Mercurial > prosody-hg
comparison plugins/mod_csi_simple.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 | bf92f37de137 |
| children | 3229be01a08a b4c2c7fae7c0 |
comparison
equal
deleted
inserted
replaced
| 9829:fdc42f685557 | 9830:d935a0f0de24 |
|---|
