author | Kim Alvefur <zash@zash.se> |
Wed, 09 Jan 2013 17:56:40 +0100 | |
changeset 5294 | 87f07dd0bbfb |
parent 5293 | fe9215155453 |
child 5295 | eef393a37e38 |
--- 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