From: Kim Alvefur Date: Sat, 14 Dec 2013 16:25:17 +0000 (+0100) Subject: mod_muc: Remove extra parenthesis (thanks janhouse) X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=aef6e173ce302d0e10e9818f216193b9a61780a8;p=prosody.git mod_muc: Remove extra parenthesis (thanks janhouse) --- diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index c8488a85..edebf070 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -155,7 +155,7 @@ function stanza_handler(event) 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