Diff

CHANGES @ 13211:4d4f9e42bcf8

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
author Kim Alvefur <zash@zash.se>
date Mon, 17 Jul 2023 00:09:41 +0200
parent 13204:c9ef35fab0b1
child 13259:9097149923ae
line wrap: on
line diff
--- a/CHANGES	Sun Jul 16 21:21:37 2023 +0200
+++ b/CHANGES	Mon Jul 17 00:09:41 2023 +0200
@@ -43,6 +43,7 @@
 - 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