Software /
code /
prosody-modules
File
mod_compliance_latest/mod_compliance_latest.lua @ 6143:61422d3c60fb
mod_cloud_notify: Prevent loading if Prosody indicates it is already bundled
This ensures the bundled version will always be preferred.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 09 Jan 2025 15:57:19 +0000 |
parent | 6113:c0cb43817b7c |
child | 6211:750d64c47ec6 |
line wrap: on
line source
local success, err = pcall(function() module:depends("compliance_2023") end) if not success then module:log_status( "error", "Error, can't load module: mod_compliance_2023. Is this module downloaded into a folder readable by prosody?" ) return false end