Software /
code /
prosody
Diff
plugins/mod_c2s.lua @ 6187:c0b4b5d41e55
plugins/muc/muc.lib: Improve set affiliation logic;
- Each affiliation and role is now ranked
- Changes up in affiliation will not downgrade your role
- Now sends a new set of presences if you gained moderator in a semi-anonymous room.
- Better input validation; matches closer with ':set_role'
- Don't short circuit; as if user has non-default role they will not get updated
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Fri, 28 Mar 2014 17:58:25 -0400 |
parent | 6005:98b768a41c9d |
child | 6063:e626ee2fe106 |