diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-31 13:52:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-31 13:52:11 +0100 |
commit | 72be6f822941c431c51343cf00c4280ec132e00c (patch) | |
tree | 17102728ee6ac2414387b4afd4c8388363eeafae /util/stanza.lua | |
parent | 64c385c9f727e2002638d8e214c40a83ce55e55e (diff) | |
download | prosody-72be6f822941c431c51343cf00c4280ec132e00c.tar.gz prosody-72be6f822941c431c51343cf00c4280ec132e00c.zip |
util.stanza: Make type error message consistent with others
Diffstat (limited to 'util/stanza.lua')
-rw-r--r-- | util/stanza.lua | 2 |
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"); |