Mercurial > prosody-modules
view mod_smacks_noerror/mod_smacks_noerror.lua @ 6323:6216d85162dc
mod_invites_register_web: Fix loading resources from relative paths
Both module:get_option_path and module:load_resource makes the path
relative to the plugin resource directory, so when running form a source
checkout where this path is relative, the path was expanded relative to
itself, becoming duplicated.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 06 Sep 2025 20:57:57 +0200 |
| parents | e7dc25e54d02 |
| children |
line wrap: on
line source
-- this module is deprecated, log an error and load the superseding modules instead module:depends"smacks" module:depends"nooffline_noerror" module:log("error", "mod_smacks_noerror is deprecated! Just use mod_smacks and load mod_nooffline_noerror if you explicitly disabled offline storage (mod_offline)");
