plugins/mod_private.lua
changeset 9231 e2e2aa76ea31
parent 6846 161cccfdf015
child 12981 74b9e05af71e
--- a/plugins/mod_private.lua	Fri Aug 24 20:35:33 2018 +0200
+++ b/plugins/mod_private.lua	Fri Aug 24 20:36:06 2018 +0200
@@ -32,7 +32,7 @@
 			origin.send(st.reply(stanza):add_child(query));
 		end
 		return true;
-	else -- type == set
+	else -- stanza.attr.type == "set"
 		local data;
 		if #tag ~= 0 then
 			data = st.preserialize(tag);