From 3c4dc9a7545791bb70f3a542eac910e6487e4ba4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 16 Jul 2023 19:49:12 +0200 Subject: 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. --- core/features.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core/features.lua') 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"; }; }; -- cgit v1.2.3