diff options
author | Kim Alvefur <zash@zash.se> | 2023-07-17 00:09:41 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-07-17 00:09:41 +0200 |
commit | 210f60808657a25913b0ac559ab8a91c93aeb218 (patch) | |
tree | e798dae284df7346bf06da02cd6dae89bcb997f7 /CHANGES | |
parent | c222b08005a9a7e8e45bef8b074fd3ab12cd8a5f (diff) | |
download | prosody-210f60808657a25913b0ac559ab8a91c93aeb218.tar.gz prosody-210f60808657a25913b0ac559ab8a91c93aeb218.zip |
moduleapi: Add :get_option_integer()
Many options in Prosody that are treated as numbers don't make sense as
floats, e.g. sizes and limits measured in bytes.
Simplified implementation based on an earlier attempt dating back to 2020
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ TRUNK - Config interface API can require that string values be picked from a provided set - Acceptable interval can be specified for number options - Method for parsing time periods / intervals from config +- Method for retrieving integer settings from config ## Changes |