# HG changeset patch # User Kim Alvefur # Date 1387038317 -3600 # Node ID 355f8b59bf1b43c06d402dc6defa21958549a84e # Parent deb261fb5c042eb4ec9a9d51590ea4bf8b2634df mod_muc: Remove extra parenthesis (thanks janhouse) diff -r deb261fb5c04 -r 355f8b59bf1b plugins/muc/mod_muc.lua --- 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