# HG changeset patch # User Matthew Wild # Date 1309203378 -3600 # Node ID 6c082bf9bf0fc9af66aba6098045b4e7766d3ce2 # Parent fb35ccf391af7fe3bc501760532b45f8873c36fc MUC: Change error type of badly-formatted stanza from 'auth' to 'modify' (thanks Andrew) diff -r fb35ccf391af -r 6c082bf9bf0f plugins/muc/muc.lib.lua --- 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;