aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-12-14 17:25:17 +0100
committerKim Alvefur <zash@zash.se>2013-12-14 17:25:17 +0100
commitfa4bdf2950a4562958ddd9b8b3e25b6d4a1b8256 (patch)
tree9ed6330f648e3558e4f923863df2ecf4e8a46e79 /plugins
parent8dfeb6207a594197160c19bb5e3e98aae07c2885 (diff)
downloadprosody-fa4bdf2950a4562958ddd9b8b3e25b6d4a1b8256.tar.gz
prosody-fa4bdf2950a4562958ddd9b8b3e25b6d4a1b8256.zip
mod_muc: Remove extra parenthesis (thanks janhouse)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
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