From 4ce6d1e03d637f0e9a76e73305f3bcd89e114618 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 27 Jun 2011 20:36:18 +0100 Subject: MUC: Change error type of badly-formatted stanza from 'auth' to 'modify' (thanks Andrew) --- plugins/muc/muc.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index ec85d185..ff11bd69 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -806,7 +806,7 @@ function room_mt:handle_to_room(origin, stanza) -- presence changes and groupcha 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; -- cgit v1.2.3