# HG changeset patch # User Kim Alvefur # Date 1357750600 -3600 # Node ID 87f07dd0bbfbcbddc1580f5a43d4a73eb85bb348 # Parent fe92151554538071e5be7e4b06e5843b0f39bb84 MUC: Don't reply to errors (thanks iron) diff -r fe9215155453 -r 87f07dd0bbfb plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue Jan 08 21:20:00 2013 +0100 +++ b/plugins/muc/muc.lib.lua Wed Jan 09 17:56:40 2013 +0100 @@ -529,7 +529,7 @@ self:_route_stanza(stanza); end stanza.attr.from, stanza.attr.to, stanza.attr.id = from, to, id; - else + elseif type ~= "error" then origin.send(st.error_reply(stanza, "cancel", "not-acceptable")); end elseif stanza.name == "message" and type == "groupchat" then -- groupchat messages not allowed in PM