plugins/muc/muc.lib.lua
changeset 4326 6c082bf9bf0f
parent 4266 513485a11b85
child 4357 d6928b78c548
--- a/plugins/muc/muc.lib.lua	Mon Jun 27 14:57:31 2011 +0100
+++ b/plugins/muc/muc.lib.lua	Mon Jun 27 20:36:18 2011 +0100
@@ -806,7 +806,7 @@
 			elseif stanza.attr.type == "set" then
 				local child = stanza.tags[1].tags[1];
 				if not child then
-					origin.send(st.error_reply(stanza, "auth", "bad-request"));
+					origin.send(st.error_reply(stanza, "modify", "bad-request"));
 				elseif child.name == "destroy" then
 					local newjid = child.attr.jid;
 					local reason, password;