changeset 5294 | 87f07dd0bbfb |
parent 5241 | 4516e6bd51b4 |
child 5334 | da7857891eb8 |
--- 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