diff options
author | Kim Alvefur <zash@zash.se> | 2013-12-14 17:25:17 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-12-14 17:25:17 +0100 |
commit | acd137be67750781431861d432d63adf74f40305 (patch) | |
tree | b1e3eebe1e62f9d3b704de31510344aa3b8d0d09 /plugins | |
parent | 80c1a2634a90d0394188f8fa9a58caa112fcc30b (diff) | |
download | prosody-acd137be67750781431861d432d63adf74f40305.tar.gz prosody-acd137be67750781431861d432d63adf74f40305.zip |
mod_muc: Remove extra parenthesis (thanks janhouse)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 38c97d61..042d3891 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -164,7 +164,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 |