diff options
author | Kim Alvefur <zash@zash.se> | 2021-10-26 15:15:57 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-10-26 15:15:57 +0200 |
commit | fc677f515fd0fe5c45d54e51f5646f37e204929a (patch) | |
tree | c02eafc57e427c68964ea99d0ac24736a0c490a7 /util/human/units.lua | |
parent | 533ab7a4ce6c55acd164cdcea6d8a6abe3db4bca (diff) | |
download | prosody-fc677f515fd0fe5c45d54e51f5646f37e204929a.tar.gz prosody-fc677f515fd0fe5c45d54e51f5646f37e204929a.zip |
util.dataforms: Coerce number values for boolean fields
Makes more sense than coercing to a string, which would always be
truthy.
Diffstat (limited to 'util/human/units.lua')
0 files changed, 0 insertions, 0 deletions