aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2024-02-22 09:53:02 +0000
committerMatthew Wild <mwild1@gmail.com>2024-02-22 09:53:02 +0000
commitf62f5d71ec864b3863bc4228dc2390c4037f460a (patch)
tree6fc1420bb611afb71ff98cc861f1af412d4518a2 /util
parentc0a302641495adfb6ddb5e0207c7c25c3dc09b51 (diff)
downloadprosody-f62f5d71ec864b3863bc4228dc2390c4037f460a.tar.gz
prosody-f62f5d71ec864b3863bc4228dc2390c4037f460a.zip
util.startup: Expose core.features.available as prosody.features
for convenience.
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 0066fb8c..ba2a7cf6 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -392,6 +392,8 @@ function startup.load_secondary_libraries()
require "prosody.util.stanza"
require "prosody.util.jid"
+
+ prosody.features = require "prosody.core.features".available;
end
function startup.init_http_client()