Mercurial > prosody-modules
view mod_smacks_noerror/mod_smacks_noerror.lua @ 4656:4eb684ab440c
mod_spam_reporting: Handle unknown or future report types
An unrecognised value in the 'reason' attribute would have caused an error.
This change makes it mirror the behavior for the previous XEP version.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 25 Aug 2021 15:05:56 +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)");
