# HG changeset patch # User Kim Alvefur # Date 1381073421 -7200 # Node ID 7d2d440e2fa5bddf0e7d3f62ea85d64c7f5f6b8a # Parent fc42f8484451c185657b8ed81474478b9e297e7e mod_muc_limits: Just drop error stanzas instead of bouncing them with more error stanzas diff -r fc42f8484451 -r 7d2d440e2fa5 mod_muc_limits/mod_muc_limits.lua --- a/mod_muc_limits/mod_muc_limits.lua Sun Sep 29 19:11:29 2013 +0200 +++ b/mod_muc_limits/mod_muc_limits.lua Sun Oct 06 17:30:21 2013 +0200 @@ -59,6 +59,9 @@ t_insert(dropped_jids, from_jid); end dropped_count = dropped_count + 1; + if stanza.attr.type == "error" then -- We don't want to bounce errors + return true; + end local reply = st.error_reply(stanza, "wait", "policy-violation", "The room is currently overactive, please try again later"); local body = stanza:get_child_text("body"); if body then