moduleapi: Allow soft dependencies via module:depends(mod, true)

This commit is contained in:
Matthew Wild 2025-02-16 13:29:07 +00:00
parent 83e4560a6c
commit 1bb0fa47bc
2 changed files with 7 additions and 2 deletions

View file

@ -62,6 +62,7 @@ TRUNK
- Method for retrieving integer settings from config
- It is now easy for modules to expose a Prosody shell command, by adding a shell-command item
- Modules can now implement a module.ready method which will be called after server initialization
- module:depends() now accepts a second parameter 'soft' to enable soft dependencies
### Configuration