aboutsummaryrefslogtreecommitdiffstats
path: root/core/features.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-07-16 19:49:12 +0200
committerKim Alvefur <zash@zash.se>2023-07-16 19:49:12 +0200
commit3c4dc9a7545791bb70f3a542eac910e6487e4ba4 (patch)
treeff96eeec5cc8df58ed0cc0dd9c76cad8d750efb2 /core/features.lua
parent924064a30ad560e9aecc2d5e3b72f6a4a85b40ae (diff)
downloadprosody-3c4dc9a7545791bb70f3a542eac910e6487e4ba4.tar.gz
prosody-3c4dc9a7545791bb70f3a542eac910e6487e4ba4.zip
core.moduleapi: Add :get_option_period for parsing time intervals
E.g. for use in mod_mam and others that take an amount of time before some (usually cleanup) action is taken.
Diffstat (limited to 'core/features.lua')
-rw-r--r--core/features.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/features.lua b/core/features.lua
index 41d8ce70..49c34111 100644
--- a/core/features.lua
+++ b/core/features.lua
@@ -19,5 +19,6 @@ return {
-- new moduleapi methods
"getopt-enum";
"getopt-interval";
+ "getopt-period";
};
};