util/stanza.lua
changeset 12142 644ca3583837
parent 11964 12a3c05aa12d
child 12144 1a4c61253932
--- a/util/stanza.lua	Fri Dec 31 00:59:10 2021 +0100
+++ b/util/stanza.lua	Fri Dec 31 13:52:11 2021 +0100
@@ -65,7 +65,7 @@
 local function check_attr(attr)
 	if attr ~= nil then
 		if type(attr) ~= "table" then
-			error("invalid attributes, expected table got "..type(attr));
+			error("invalid attributes: expected table, got "..type(attr));
 		end
 		for k, v in pairs(attr) do
 			check_name(k, "attribute");