diff options
author | Matthew Wild <mwild1@gmail.com> | 2024-02-22 09:53:02 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2024-02-22 09:53:02 +0000 |
commit | f62f5d71ec864b3863bc4228dc2390c4037f460a (patch) | |
tree | 6fc1420bb611afb71ff98cc861f1af412d4518a2 /util | |
parent | c0a302641495adfb6ddb5e0207c7c25c3dc09b51 (diff) | |
download | prosody-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.lua | 2 |
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() |