diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-06 18:26:50 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-06 18:26:50 +0100 |
commit | 6bae44fea856e81ec6ce597628586c168cc4b2b8 (patch) | |
tree | b031ad8decafdfebb18cdd3df6495e796524bab6 /util/rsm.lua | |
parent | 55fb09153688d76c86a237c0fb6c2e7beb156078 (diff) | |
download | prosody-6bae44fea856e81ec6ce597628586c168cc4b2b8.tar.gz prosody-6bae44fea856e81ec6ce597628586c168cc4b2b8.zip |
util.rsm: Correctly coerce integer value for <index> (fix #1642)
Diffstat (limited to 'util/rsm.lua')
-rw-r--r-- | util/rsm.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/rsm.lua b/util/rsm.lua index affa85f5..e6060af8 100644 --- a/util/rsm.lua +++ b/util/rsm.lua @@ -65,6 +65,9 @@ local element_generators = setmetatable({ max = function (st, data) st:text_tag("max", inttostr(data)); end; + index = function (st, data) + st:text_tag("index", inttostr(data)); + end; count = function (st, data) st:text_tag("count", inttostr(data)); end; |