Diff

core/features.lua @ 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
line wrap: on
line diff
--- a/core/features.lua	Sun Jul 16 21:21:37 2023 +0200
+++ b/core/features.lua	Mon Jul 17 00:09:41 2023 +0200
@@ -20,5 +20,6 @@
 		"getopt-enum";
 		"getopt-interval";
 		"getopt-period";
+		"getopt-integer";
 	};
 };