diff options
author | Kim Alvefur <zash@zash.se> | 2023-04-06 16:27:37 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-04-06 16:27:37 +0200 |
commit | a8a7be217a12b49d3530ae83ff1bb818dfab134b (patch) | |
tree | 82296b35d4499c3a7415d9bf5772d44213d0e69c /plugins/muc/muc.lib.lua | |
parent | 7e50781f519fcad5c33b570e1996a8026841adc3 (diff) | |
download | prosody-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 'plugins/muc/muc.lib.lua')
0 files changed, 0 insertions, 0 deletions