plugins/mod_csi_simple.lua
changeset 10837 ac691f305ea7
parent 10836 7395f6e68dba
child 11264 08b397c21805
--- a/plugins/mod_csi_simple.lua	Sun May 10 23:09:15 2020 +0200
+++ b/plugins/mod_csi_simple.lua	Sun May 10 23:12:33 2020 +0200
@@ -21,7 +21,8 @@
 	elseif type(stanza) == "string" then
 		return true, "raw data";
 	elseif not st.is_stanza(stanza) then
-		return true;
+		-- This should probably never happen
+		return true, type(stanza);
 	end
 	if stanza.attr.xmlns ~= nil then
 		-- stream errors, stream management etc