Changeset

10770:b4cbe72966c9

mod_csi_simple: Consider nonzas important This case was previously handled by fall-trough at the end of the function.
author Kim Alvefur <zash@zash.se>
date Sun, 26 Apr 2020 11:13:01 +0200
parents 10769:8cecb85e4bc4
children 10771:c562edcf51bf
files plugins/mod_csi_simple.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua	Sun Apr 26 10:58:22 2020 +0200
+++ b/plugins/mod_csi_simple.lua	Sun Apr 26 11:13:01 2020 +0200
@@ -20,6 +20,10 @@
 	if not st.is_stanza(stanza) then
 		return true;
 	end
+	if stanza.attr.xmlns ~= nil then
+		-- stream errors, stream management etc
+		return true;
+	end
 	local st_name = stanza.name;
 	if not st_name then return false; end
 	local st_type = stanza.attr.type;