diff options
author | Kim Alvefur <zash@zash.se> | 2015-06-25 18:57:43 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-06-25 18:57:43 +0200 |
commit | 6e187489a98a403ae236a9595fbd0f80d3ff6490 (patch) | |
tree | 1b0aa90c356c8219e4165bd4d5136ea99b34e8f1 /plugins/muc | |
parent | 7b1c9ac2f7a58d8d91124196fec60206facc840e (diff) | |
parent | 7b391bc37acca3a5ed62477f18c9e03348a057f5 (diff) | |
download | prosody-6e187489a98a403ae236a9595fbd0f80d3ff6490.tar.gz prosody-6e187489a98a403ae236a9595fbd0f80d3ff6490.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index db85a73f..03a23e09 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -39,7 +39,7 @@ do -- Monkey patch to make server admins room owners local _set_affiliation = room_mt.set_affiliation; function room_mt:set_affiliation(actor, jid, ...) - if is_admin(jid) then return nil, "modify", "not-acceptable"; end + if affiliation ~= "owner" and is_admin(jid) then return nil, "modify", "not-acceptable"; end return _set_affiliation(self, actor, jid, ...); end end |