author | Kim Alvefur <zash@zash.se> |
Mon, 17 Aug 2015 01:58:53 +0200 | |
changeset 6779 | 4412a2307c89 |
parent 6778 | 22c8deb43daf |
child 6794 | e813e8cf6046 |
--- a/plugins/muc/muc.lib.lua Tue Aug 11 10:29:25 2015 +0200 +++ b/plugins/muc/muc.lib.lua Mon Aug 17 01:58:53 2015 +0200 @@ -1146,7 +1146,7 @@ else -- Can't do anything to other owners or admins local occupant_affiliation = self:get_affiliation(occupant.bare_jid); - if occupant_affiliation == "owner" and occupant_affiliation == "admin" then + if occupant_affiliation == "owner" or occupant_affiliation == "admin" then return nil, "cancel", "not-allowed"; end