aboutsummaryrefslogtreecommitdiffstats
path: root/core/features.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-16 20:40:14 +0100
committerKim Alvefur <zash@zash.se>2021-01-16 20:40:14 +0100
commitc4abd68e92a258750177f25dca38525fe3133063 (patch)
tree66bca82b3f98fd03feb4fd2c7b7611e46a0445c3 /core/features.lua
parent5b7a569fe072fbae5dd1f951fdad3a5c7d273e36 (diff)
downloadprosody-c4abd68e92a258750177f25dca38525fe3133063.tar.gz
prosody-c4abd68e92a258750177f25dca38525fe3133063.zip
moduleapi: Add enum config option method
For when a setting has a few fixed values it can take
Diffstat (limited to 'core/features.lua')
-rw-r--r--core/features.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/features.lua b/core/features.lua
index c96f0c81..2948a1a7 100644
--- a/core/features.lua
+++ b/core/features.lua
@@ -15,5 +15,8 @@ return {
-- prosody:guest, prosody:registered, prosody:member
"split-user-roles";
+
+ -- new moduleapi methods
+ "getopt-enum";
};
};