mod_muc_limits/mod_muc_limits.lua
changeset 1205 7d2d440e2fa5
parent 1058 1255de347dd4
child 1428 091ee76745e8
--- 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