author | Kim Alvefur <zash@zash.se> |
Sat, 14 Dec 2013 17:25:17 +0100 | |
changeset 5943 | 355f8b59bf1b |
parent 5938 | deb261fb5c04 |
child 5944 | f3817912e8b2 |
--- a/plugins/muc/mod_muc.lua Fri Dec 13 12:52:03 2013 +0000 +++ b/plugins/muc/mod_muc.lua Sat Dec 14 17:25:17 2013 +0100 @@ -155,7 +155,7 @@ return true; end if not(restrict_room_creation) or - is_admin(stanza.attr.from)) or + is_admin(stanza.attr.from) or (restrict_room_creation == "local" and select(2, jid_split(stanza.attr.from)) == module.host:gsub("^[^%.]+%.", "")) then room = create_room(bare); end