plugins/muc/muc.lib.lua
changeset 9645 0ce404230388
parent 9619 66c6edf56397
parent 9644 28d4b9d5a432
child 9651 0f43b901c854
--- a/plugins/muc/muc.lib.lua	Sun Nov 18 01:30:20 2018 +0100
+++ b/plugins/muc/muc.lib.lua	Sun Nov 25 13:31:40 2018 +0100
@@ -904,6 +904,7 @@
 	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);