# HG changeset patch # User Kim Alvefur # Date 1387038317 -3600 # Node ID 31f14991070b838785246dc8cb5c997dbe66b5f4 # Parent 56d81af64fc59fa61f0b3c249fe85c57e470ba7b mod_muc: Remove extra parenthesis (thanks janhouse) diff -r 56d81af64fc5 -r 31f14991070b plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Fri Dec 13 12:52:39 2013 +0000 +++ b/plugins/muc/mod_muc.lua Sat Dec 14 17:25:17 2013 +0100 @@ -164,7 +164,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