aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/stanza.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index a6bc51c4..23240301 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -65,7 +65,7 @@ end
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");