Comparison

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
comparison
equal deleted inserted replaced
13210:8dbe693ded6b 13211:4d4f9e42bcf8
18 18
19 -- new moduleapi methods 19 -- new moduleapi methods
20 "getopt-enum"; 20 "getopt-enum";
21 "getopt-interval"; 21 "getopt-interval";
22 "getopt-period"; 22 "getopt-period";
23 "getopt-integer";
23 }; 24 };
24 }; 25 };