aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-25 13:31:40 +0100
committerKim Alvefur <zash@zash.se>2018-11-25 13:31:40 +0100
commit7cade05952a251818b192501cd99bc6219f67807 (patch)
tree07413213fa09876c6643f173b952382902f0aa36 /plugins/muc
parent89b93ed4b2f276ffea533ef11b79c3547a8321df (diff)
parentdc1690029d807c815be87f0f94de383decef52b0 (diff)
downloadprosody-7cade05952a251818b192501cd99bc6219f67807.tar.gz
prosody-7cade05952a251818b192501cd99bc6219f67807.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index d9fa37f5..96f58023 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -904,6 +904,7 @@ function room_mt:handle_admin_query_set_command(origin, stanza)
local item = stanza.tags[1].tags[1];
if not item then
origin.send(st.error_reply(stanza, "cancel", "bad-request"));
+ return true;
end
if item.attr.jid then -- Validate provided JID
item.attr.jid = jid_prep(item.attr.jid);