diff options
author | Jonas Schäfer <jonas@wielicki.name> | 2024-11-16 09:12:11 +0100 |
---|---|---|
committer | Jonas Schäfer <jonas@wielicki.name> | 2024-11-16 09:12:11 +0100 |
commit | 9f53fd30a9647f63209273a39c384e3e6807ecce (patch) | |
tree | 13584138657dbc319e417eff2aac17b05512396b /core/hostmanager.lua | |
parent | 4bf9c26a2669b795ab33a22888914e8f72b8fa19 (diff) | |
download | prosody-9f53fd30a9647f63209273a39c384e3e6807ecce.tar.gz prosody-9f53fd30a9647f63209273a39c384e3e6807ecce.zip |
mod_roster: do not store number in attribute
Attributes are strings. That definitely is a number. So we
tostring() it. This is important when the API becomes stricter,
for whatever reason that might happen.
Practically, this moves the overhead of converting to a string
to a place where it is visible.
Diffstat (limited to 'core/hostmanager.lua')
0 files changed, 0 insertions, 0 deletions