aboutsummaryrefslogtreecommitdiffstats
path: root/util/statistics.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-04-06 16:27:37 +0200
committerKim Alvefur <zash@zash.se>2023-04-06 16:27:37 +0200
commita8a7be217a12b49d3530ae83ff1bb818dfab134b (patch)
tree82296b35d4499c3a7415d9bf5772d44213d0e69c /util/statistics.lua
parent7e50781f519fcad5c33b570e1996a8026841adc3 (diff)
downloadprosody-a8a7be217a12b49d3530ae83ff1bb818dfab134b.tar.gz
prosody-a8a7be217a12b49d3530ae83ff1bb818dfab134b.zip
util.array: Change tostring format to [a,b,c]
Arrays in Lua do use { } but since __tostring is often user-facing it seems sensible to use [ ] instead for consistency with many other systems; as well as to allow the {a,b,c} formatting to be used by util.set without being confused with util.array.
Diffstat (limited to 'util/statistics.lua')
0 files changed, 0 insertions, 0 deletions